diff options
Diffstat (limited to 'qt-models/profileprintmodel.h')
-rw-r--r-- | qt-models/profileprintmodel.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/qt-models/profileprintmodel.h b/qt-models/profileprintmodel.h deleted file mode 100644 index b15f2df61..000000000 --- a/qt-models/profileprintmodel.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef PROFILEPRINTMODEL_H -#define PROFILEPRINTMODEL_H - -#include <QAbstractTableModel> - -/* 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); -}; - -#endif
\ No newline at end of file |