19 #ifndef _OCULARSDATAMAPPER_HPP_ 20 #define _OCULARSDATAMAPPER_HPP_ 25 class Ui_OcularsWidget;
34 OcularsDataMapper(Ui_OcularsWidget *aWidget, QMap<QString, QSqlTableModel *> tableModels, QObject *parent = 0);
38 void apparentFOVChanged();
39 void deleteSelectedOcular();
40 void focalLengthChanged();
41 void insertNewOcular();
43 void ocularSelected(
const QModelIndex &index);
47 QSqlRecord currentRecord();
48 void populateFormWithIndex(
const QModelIndex &index);
49 void setupConnections();
50 void teardownConnections();
53 int lastRowNumberSelected;
54 QSqlTableModel *tableModel;
55 Ui_OcularsWidget *widget;
59 #endif // _OCULARSDATAMAPPER_HPP_