diff options
Diffstat (limited to 'qt-models/models.h')
-rw-r--r-- | qt-models/models.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/qt-models/models.h b/qt-models/models.h index 0123ce171..60b83cd95 100644 --- a/qt-models/models.h +++ b/qt-models/models.h @@ -18,21 +18,7 @@ #include "../dive.h" #include "../divelist.h" #include "../divecomputer.h" - -// Encapsulates Boilerplate. -class CleanerTableModel : public QAbstractTableModel { - Q_OBJECT -public: - explicit CleanerTableModel(QObject *parent = 0); - virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; - virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; - -protected: - void setHeaderDataStrings(const QStringList &headers); - -private: - QStringList headers; -}; +#include "cleanertablemodel.h" /* Encapsulates the tank_info global variable * to show on Qt's Model View System.*/ |