diff options
Diffstat (limited to 'qt-models/models.h')
-rw-r--r-- | qt-models/models.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/qt-models/models.h b/qt-models/models.h index 94fcc5129..df5906a18 100644 --- a/qt-models/models.h +++ b/qt-models/models.h @@ -22,26 +22,6 @@ #include "cleanertablemodel.h" #include "treemodel.h" -/* ProfilePrintModel: - * this model is used when printing a data table under a profile. it requires - * some exact usage of setSpan(..) on the target QTableView widget. - */ -class ProfilePrintModel : public QAbstractTableModel { - Q_OBJECT - -private: - int diveId; - double fontSize; - -public: - ProfilePrintModel(QObject *parent = 0); - int rowCount(const QModelIndex &parent = QModelIndex()) const; - int columnCount(const QModelIndex &parent = QModelIndex()) const; - QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; - void setDive(struct dive *divePtr); - void setFontsize(double size); -}; - class GasSelectionModel : public QStringListModel { Q_OBJECT public: |