summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-05-28 18:33:51 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-29 14:13:00 -0700
commit85d4bb8a7016fa856e5e1278352ce18939450e36 (patch)
treedcabe9e92f18db109548fa98bcf027564db2aeea /qt-ui
parent7171d2e1ebc880cbee468a542e3fc907039539c5 (diff)
downloadsubsurface-85d4bb8a7016fa856e5e1278352ce18939450e36.tar.gz
Move DiveTripModel to qt-models
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelistview.h1
-rw-r--r--qt-ui/modeldelegates.cpp2
-rw-r--r--qt-ui/printlayout.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index 6e9a18215..65f98eff8 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -15,6 +15,7 @@
#include <QLineEdit>
#include <QNetworkAccessManager>
#include "models.h"
+#include "divetripmodel.h"
class DiveListView : public QTreeView {
Q_OBJECT
diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp
index 84d2db1d5..827e6ab27 100644
--- a/qt-ui/modeldelegates.cpp
+++ b/qt-ui/modeldelegates.cpp
@@ -9,6 +9,8 @@
#include "tankinfomodel.h"
#include "weigthsysteminfomodel.h"
#include "weightmodel.h"
+#include "divetripmodel.h"
+
#include <QCompleter>
#include <QKeyEvent>
#include <QTextDocument>
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp
index 8123ba07a..637612e41 100644
--- a/qt-ui/printlayout.cpp
+++ b/qt-ui/printlayout.cpp
@@ -11,6 +11,7 @@
#include "modeldelegates.h"
#include "models.h"
#include "profile/profilewidget2.h"
+#include "divetripmodel.h"
PrintLayout::PrintLayout(PrintDialog *dialogPtr, QPrinter *printerPtr, struct print_options *optionsPtr)
{