Fixed loading of data in CrudModel.
This commit is contained in:
parent
15bee33076
commit
424fb5984d
2 changed files with 4 additions and 14 deletions
|
|
@ -263,13 +263,6 @@ private:
|
|||
/// call on initial load to fill in the mappings
|
||||
void initRowMapping();
|
||||
|
||||
// using RedirectVec = std::vector<int>;
|
||||
// /// In sync with the actual table, used to efficiently find the correct row in the result
|
||||
// RedirectVec m_redirectVector;
|
||||
|
||||
|
||||
void loadIntoModel(std::shared_ptr<Pgsql::Result> data);
|
||||
|
||||
Value getData(const QModelIndex &index) const;
|
||||
Oid getType(int column) const;
|
||||
|
||||
|
|
@ -317,11 +310,8 @@ private:
|
|||
int attNumToCol(int attnum) const { return attnum - 1; }
|
||||
private slots:
|
||||
|
||||
void loadIntoModel(std::shared_ptr<Pgsql::Result> data);
|
||||
void connectionStateChanged(ASyncDBConnection::State state);
|
||||
// void queryResult(std::shared_ptr<Pgsql::Result> result);
|
||||
// void queryError();
|
||||
|
||||
// void dataProcessingFutureFinished();
|
||||
};
|
||||
|
||||
#endif // CRUDMODEL_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue