|
Data_deduplication_service
Service that will use hashes to deduplicate files
|
Table model for pqxx::result. More...
#include <myPqxxModel.h>
Inheritance diagram for models::myPqxxModel:
Collaboration diagram for models::myPqxxModel:Public Member Functions | |
| myPqxxModel (QObject *parent=nullptr) | |
| int | rowCount (const QModelIndex &parent) const override |
| int | columnCount (const QModelIndex &parent) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| QVariant | data (const QModelIndex &index, int role) const override |
| void | Reset () |
Public Member Functions inherited from models::myPxxxModelBase | |
| bool | performConnection (myConnString &cstring) |
| bool | checkConnection () |
| virtual void | getData ()=0 |
| bool | isEmpty () const |
| template<typename ResType1 , typename... Args> | |
| void | executeInTransaction (ResType1(*call)(db_services::trasnactionType &, Args...), Args &&... args) |
| template<typename ResType1 , typename... Args> | |
| void | executeInTransaction (const std::function< ResType1(trasnactionType &, Args...)> &call, Args &&... args) |
Additional Inherited Members | |
Protected Member Functions inherited from models::myPxxxModelBase | |
| QVariant | convertFromPqxx (const QModelIndex &index, int role) const |
| Returns properly casted data Uses postgres column OID to perform cast to suitable type that will be wrapped in QVariant. More... | |
| template<typename ResType1 , typename ... Args> | |
| void | executeInTransaction (ResType1(*call)(db_services::trasnactionType &, Args ...), Args &&... args) |
| template<typename ResType1 , typename ... Args> | |
| void | executeInTransaction (const std::function< ResType1(db_services::trasnactionType &, Args ...)> &call, Args &&... args) |
| void | setColumnsTypes () |
| void | reset () |
Protected Attributes inherited from models::myPxxxModelBase | |
| resType | res |
| conPtr | connection |
| QList< oid > | columnTypes |
| QList< QString > | columnNames |
| bool | good |
| bool | isEmpty_ |
Table model for pqxx::result.
|
explicit |
|
inlineoverride |
|
override |
Here is the call graph for this function:
|
override |
Shows headers
| section | |
| orientation | |
| role |
| void models::myPqxxModel::Reset | ( | ) |
Resets result and updates model
Here is the call graph for this function:
|
inlineoverride |