19 #ifndef _SITESDATAMAPPER_HPP_ 20 #define _SITESDATAMAPPER_HPP_ 34 SitesDataMapper(Ui_SitesWidget *aWidget, QMap<QString, QSqlTableModel *> tableModels, QObject *parent = 0);
38 void addSiteForCurrentLocation();
39 void deleteSelectedSite();
40 void elevationChanged();
42 void latitudeChanged();
43 void longitudeChanged();
45 void siteSelected(
const QModelIndex &index);
46 void timezoneOffsetChanged();
49 QSqlRecord currentRecord();
50 void populateFormWithIndex(
const QModelIndex &index);
51 void setupConnections();
52 void teardownConnections();
55 int lastRowNumberSelected;
56 QSqlTableModel *tableModel;
57 Ui_SitesWidget *widget;
61 #endif // _SITESDATAMAPPER_HPP_