19 #ifndef _FILTERSDATAMAPPER_HPP_
20 #define _FILTERSDATAMAPPER_HPP_
25 class Ui_FiltersWidget;
34 FiltersDataMapper(Ui_FiltersWidget *aWidget, QMap<QString, QSqlTableModel *> tableModels, QObject *parent = 0);
39 void deleteSelectedFilter();
40 void filterSelected(
const QModelIndex &index);
41 void insertNewFilter();
47 QSqlRecord currentRecord();
48 void populateFormWithIndex(
const QModelIndex &index);
49 void setupConnections();
50 void teardownConnections();
53 int lastRowNumberSelected;
54 QSqlTableModel *tableModel;
55 Ui_FiltersWidget *widget;
59 #endif // _FILTERSDATAMAPPER_HPP_