summaryrefslogtreecommitdiffstats
path: root/qt-models/profileprintmodel.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-09 20:42:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-10 09:08:10 -0800
commit36314a86f817c0d2c56aeca497ce3e29ba8db54a (patch)
tree2ce9e1cb7c9c8a267410afe264837c073140707d /qt-models/profileprintmodel.h
parentb8c71ef6cd3c5724be620725087c11aae290314a (diff)
downloadsubsurface-36314a86f817c0d2c56aeca497ce3e29ba8db54a.tar.gz
qt-models: remove obsolete printer related classes
The profileprintmodel.cpp/.h and the tableprintmode.cpp/.h pairs are obsolete. The print layouting is now handled via the Grantlee library and HTML. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/profileprintmodel.h')
-rw-r--r--qt-models/profileprintmodel.h26
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