summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-18 20:50:01 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-09-18 20:50:01 (GMT)
commit180805657176a8b30d6be421b720722d90e27b64 (patch)
tree511abf7b858834be33c605b54a2b3b70c5e3c517
parented55cd83eb431a9c76f549c3dd90c12333f1781b (diff)
Clear mapbackend.h from marble includes
-rw-r--r--src/backends/backendgooglemaps.cpp4
-rw-r--r--src/backends/mapbackend.h9
-rw-r--r--src/mapwidget.cpp1
-rw-r--r--src/tilegrouper.cpp4
4 files changed, 14 insertions, 4 deletions
diff --git a/src/backends/backendgooglemaps.cpp b/src/backends/backendgooglemaps.cpp
index a08623a..3471618 100644
--- a/src/backends/backendgooglemaps.cpp
+++ b/src/backends/backendgooglemaps.cpp
@@ -37,6 +37,10 @@
#include <QResizeEvent>
#include <QAction>
+// Marble Widget includes
+
+#include <marble/GeoDataLatLonBox.h>
+
// KDE includes
#include <kconfiggroup.h>
diff --git a/src/backends/mapbackend.h b/src/backends/mapbackend.h
index 298e1cc..41e719c 100644
--- a/src/backends/mapbackend.h
+++ b/src/backends/mapbackend.h
@@ -33,10 +33,6 @@
#include <QtCore/QModelIndex>
-// Marble Widget includes
-
-#include <marble/GeoDataLatLonBox.h>
-
// local includes
#include "kgeomap_common.h"
@@ -45,6 +41,11 @@ class QMenu;
class QWidget;
class KConfigGroup;
+namespace Marble
+{
+class GeoDataLatLonBox;
+}
+
namespace KGeoMap
{
diff --git a/src/mapwidget.cpp b/src/mapwidget.cpp
index 8a3fe48..61ac571 100644
--- a/src/mapwidget.cpp
+++ b/src/mapwidget.cpp
@@ -56,6 +56,7 @@
// Marbel includes
#include <marble/GeoDataLineString.h>
+#include <marble/GeoDataLatLonBox.h>
#include <marble/MarbleGlobal.h>
// local includes
diff --git a/src/tilegrouper.cpp b/src/tilegrouper.cpp
index 5c9e038..c78b2b2 100644
--- a/src/tilegrouper.cpp
+++ b/src/tilegrouper.cpp
@@ -24,6 +24,10 @@
#include "tilegrouper.h"
+// stdlib includes
+
+#include <math.h>
+
// local includes
#include "abstractmarkertiler.h"