summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <[email protected]>2016-07-06 20:05:28 +0200
committerFriedrich W. H. Kossebau <[email protected]>2016-07-06 20:05:28 +0200
commit71103f6c3f18fdd8599b40dff454b655aa0532aa (patch)
tree700e27dba90a8cf98f8692e9dd4f16b26af6f9fa
parentf2eb8c6463ef9a24dc9bc20639cba064d4613ced (diff)
Remove unneeded includes of QModelIndex
-rw-r--r--src/lib/marble/FlyToEditWidget.h2
-rw-r--r--src/lib/marble/PlacemarkLayout.h3
-rw-r--r--src/lib/marble/RemoveItemEditWidget.h2
-rw-r--r--src/lib/marble/SearchInputWidget.h3
-rw-r--r--src/lib/marble/SoundCueEditWidget.h2
-rw-r--r--src/lib/marble/TourControlEditWidget.h2
-rw-r--r--src/lib/marble/layers/PlacemarkLayer.cpp1
-rw-r--r--src/lib/marble/routing/RoutingLayer.h2
-rw-r--r--src/lib/marble/routing/RoutingWidget.h3
9 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/marble/FlyToEditWidget.h b/src/lib/marble/FlyToEditWidget.h
index 49a5eb7..d956b15 100644
--- a/src/lib/marble/FlyToEditWidget.h
+++ b/src/lib/marble/FlyToEditWidget.h
@@ -14,12 +14,12 @@
#define FLYTOEDITWIDGET_H
#include <QWidget>
-#include <QModelIndex>
#include "GeoDataCoordinates.h"
class QDoubleSpinBox;
class QToolButton;
class QComboBox;
+class QModelIndex;
namespace Marble
{
diff --git a/src/lib/marble/PlacemarkLayout.h b/src/lib/marble/PlacemarkLayout.h
index 41ba470..0a2b743 100644
--- a/src/lib/marble/PlacemarkLayout.h
+++ b/src/lib/marble/PlacemarkLayout.h
@@ -17,9 +17,7 @@
#ifndef MARBLE_PLACEMARKLAYOUT_H
#define MARBLE_PLACEMARKLAYOUT_H
-
#include <QHash>
-#include <QModelIndex>
#include <QRect>
#include <QSet>
#include <QVector>
@@ -31,6 +29,7 @@
class QAbstractItemModel;
class QItemSelectionModel;
class QPoint;
+class QModelIndex;
namespace Marble
diff --git a/src/lib/marble/RemoveItemEditWidget.h b/src/lib/marble/RemoveItemEditWidget.h
index 378b127..a57e8f5 100644
--- a/src/lib/marble/RemoveItemEditWidget.h
+++ b/src/lib/marble/RemoveItemEditWidget.h
@@ -12,10 +12,10 @@
#define REMOVEITEMEDITWIDGET_H
#include <QWidget>
-#include <QModelIndex>
class QToolButton;
class QComboBox;
+class QModelIndex;
namespace Marble
{
diff --git a/src/lib/marble/SearchInputWidget.h b/src/lib/marble/SearchInputWidget.h
index ec25dc8..af350e2 100644
--- a/src/lib/marble/SearchInputWidget.h
+++ b/src/lib/marble/SearchInputWidget.h
@@ -12,7 +12,6 @@
#ifndef MARBLE_SEARCHINPUTWIDGET_H
#define MARBLE_SEARCHINPUTWIDGET_H
-#include <QModelIndex>
#include <QSortFilterProxyModel>
#include "MarbleLineEdit.h"
@@ -20,7 +19,9 @@
#include "marble_export.h"
class QAbstractItemModel;
+
class QCompleter;
+class QModelIndex;
namespace Marble {
diff --git a/src/lib/marble/SoundCueEditWidget.h b/src/lib/marble/SoundCueEditWidget.h
index c24caf3..9eb6a90 100644
--- a/src/lib/marble/SoundCueEditWidget.h
+++ b/src/lib/marble/SoundCueEditWidget.h
@@ -14,7 +14,7 @@
#define SOUNDCUEEDITWIDGET_H
#include <QWidget>
-#include <QModelIndex>
+#include <QPersistentModelIndex>
class QLineEdit;
class QToolButton;
diff --git a/src/lib/marble/TourControlEditWidget.h b/src/lib/marble/TourControlEditWidget.h
index 90e951e..9476121 100644
--- a/src/lib/marble/TourControlEditWidget.h
+++ b/src/lib/marble/TourControlEditWidget.h
@@ -14,7 +14,7 @@
#define TOURCONTROLEDITWIDGET_H
#include <QWidget>
-#include <QModelIndex>
+#include <QPersistentModelIndex>
class QRadioButton;
class QToolButton;
diff --git a/src/lib/marble/layers/PlacemarkLayer.cpp b/src/lib/marble/layers/PlacemarkLayer.cpp
index 8e7a5c8..58295df 100644
--- a/src/lib/marble/layers/PlacemarkLayer.cpp
+++ b/src/lib/marble/layers/PlacemarkLayer.cpp
@@ -12,7 +12,6 @@
#include "PlacemarkLayer.h"
-#include <QModelIndex>
#include <QPoint>
#include <QPainter>
diff --git a/src/lib/marble/routing/RoutingLayer.h b/src/lib/marble/routing/RoutingLayer.h
index 68a56e2..5ff0f32 100644
--- a/src/lib/marble/routing/RoutingLayer.h
+++ b/src/lib/marble/routing/RoutingLayer.h
@@ -14,11 +14,11 @@
#include "GeoDataCoordinates.h"
#include "LayerInterface.h"
-#include <QModelIndex>
#include <QRect>
#include <QItemSelection>
class QAbstractProxyModel;
+class QModelIndex;
namespace Marble
{
diff --git a/src/lib/marble/routing/RoutingWidget.h b/src/lib/marble/routing/RoutingWidget.h
index 6841246..2823565 100644
--- a/src/lib/marble/routing/RoutingWidget.h
+++ b/src/lib/marble/routing/RoutingWidget.h
@@ -16,9 +16,10 @@
#include "RoutingManager.h"
#include "marble_export.h"
-#include <QModelIndex>
#include <QWidget>
+class QModelIndex;
+
namespace Marble
{