summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-03-06 06:52:55 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-06 11:03:00 -0800
commit39313c5b3340683b9e4475987308dac24491a982 (patch)
tree5507c58efe70499262b2e24b2bd24ef6ec9e7f4c /profile-widget
parent710b3615fe875cd99a78f643790201b587ffef97 (diff)
downloadsubsurface-39313c5b3340683b9e4475987308dac24491a982.tar.gz
Clean up handling of various include file
This is in the context of the iOS port and shouldn't impact any of the other builds. [Dirk Hohndel: refactored the iOS patches] Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divepixmapitem.cpp2
-rw-r--r--profile-widget/diveprofileitem.cpp2
-rw-r--r--profile-widget/profilewidget2.cpp12
3 files changed, 9 insertions, 7 deletions
diff --git a/profile-widget/divepixmapitem.cpp b/profile-widget/divepixmapitem.cpp
index 7b0d4993e..698172cc6 100644
--- a/profile-widget/divepixmapitem.cpp
+++ b/profile-widget/divepixmapitem.cpp
@@ -1,6 +1,6 @@
#include "divepixmapitem.h"
#include "animationfunctions.h"
-#include "divepicturemodel.h"
+#include "qt-models/divepicturemodel.h"
#include "pref.h"
#ifndef SUBSURFACE_MOBILE
#include "preferences/preferencesdialog.h"
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp
index 4262326d7..93c954fd4 100644
--- a/profile-widget/diveprofileitem.cpp
+++ b/profile-widget/diveprofileitem.cpp
@@ -8,7 +8,7 @@
#ifndef SUBSURFACE_MOBILE
#include "preferences/preferencesdialog.h"
#endif
-#include "diveplannermodel.h"
+#include "qt-models/diveplannermodel.h"
#include "helpers.h"
#include <subsurface-qt/SettingsObjectWrapper.h>
#include "libdivecomputer/parser.h"
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index 0d6e38588..38276b235 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1,5 +1,5 @@
#include "profilewidget2.h"
-#include "diveplotdatamodel.h"
+#include "qt-models/diveplotdatamodel.h"
#include "helpers.h"
#include "profile.h"
#include "diveeventitem.h"
@@ -10,15 +10,15 @@
#include "ruleritem.h"
#include "tankitem.h"
#include "pref.h"
-#include "divepicturewidget.h"
-#include "diveplannermodel.h"
-#include "models.h"
-#include "divepicturemodel.h"
+#include "qt-models/diveplannermodel.h"
+#include "qt-models/models.h"
+#include "qt-models/divepicturemodel.h"
#include "divelist.h"
#include <subsurface-qt/SettingsObjectWrapper.h>
#ifndef SUBSURFACE_MOBILE
#include "diveplanner.h"
#include "simplewidgets.h"
+#include "divepicturewidget.h"
#endif
#include <libdivecomputer/parser.h>
@@ -34,7 +34,9 @@
#ifndef QT_NO_DEBUG
#include <QTableView>
#endif
+#ifndef SUBSURFACE_MOBILE
#include "preferences/preferencesdialog.h"
+#endif
#include <QtWidgets>
// a couple of helpers we need