Data_deduplication_service
Service that will use hashes to deduplicate files
myPqxxModel.h File Reference
#include <variant>
#include <unordered_map>
#include <QAbstractTableModel>
#include <QSortFilterProxyModel>
#include <pqxx/pqxx>
#include <dbCommon.h>
#include <QDate>
#include <QMouseEvent>
#include <QTableView>
+ Include dependency graph for myPqxxModel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  models::myPxxxModelBase
 Basic class for database pqxx::result representation. More...
 
class  models::myPqxxModel
 Table model for pqxx::result. More...
 
class  models::deduplicationCharacteristicsModel
 Pqxx model that retrieves database deduplication characteristic. More...
 
class  models::mySortFilterProxyModel
 Sort filter proxy model used for searching entry names. More...
 
class  models::notNullFilterProxyModel
 Sort filter model that filters out all rows with NULL values. More...
 
class  models::deselectableTableView
 Tbale view that can be deselected. More...
 

Namespaces

 models
 models namespace
 

Typedefs

using models::oid = uint32_t
 
using models::returnType = std::variant< std::type_identity< int64_t >, std::type_identity< double >, std::type_identity< std::string >, std::type_identity< pqxx::binarystring > >
 

Functions

template<typename ReturnType >
QVariant models::toQtVariant (const ReturnType &val)
 
template<>
QVariant models::toQtVariant (const pqxx::binarystring &val)
 
template<>
QVariant models::toQtVariant (const std::string_view &val)
 
template<>
QVariant models::toQtVariant (const std::string &val)
 
template<>
QVariant models::toQtVariant (const double &val)
 
QVariant models::toQtVariant (const int64_t &val)