This file is part of MXE.
See index.html for further information.
From c25e78b3974062052d3fd9e6da496e34dc511fcd Mon Sep 17 00:00:00 2001
From: Friedemann Kleint
Date: Fri, 1 Feb 2013 09:34:41 +0100
Subject: [PATCH] QtDBus-tools: Remove module includes.
Change-Id: I4b6754c7bd513a2c479c52a0428bd7eee857c6ca
Reviewed-by: Kai Koehne
(cherry picked from commit 6463881156d05b0e39bbca91f2d0c5892b0a9368)
diff --git a/src/qdbus/qdbus/qdbus.cpp b/src/qdbus/qdbus/qdbus.cpp
index 0ce6563..345f046 100644
--- a/src/qdbus/qdbus/qdbus.cpp
+++ b/src/qdbus/qdbus/qdbus.cpp
@@ -47,7 +47,13 @@
#include
#include
#include
-#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
#include
QT_BEGIN_NAMESPACE
diff --git a/src/qdbus/qdbusviewer/qdbusmodel.cpp b/src/qdbus/qdbusviewer/qdbusmodel.cpp
index e2405a1..5bf656b 100644
--- a/src/qdbus/qdbusviewer/qdbusmodel.cpp
+++ b/src/qdbus/qdbusviewer/qdbusmodel.cpp
@@ -42,7 +42,11 @@
#include "qdbusmodel.h"
#include
-#include
+#include
+#include
+#include
+#include
+#include
struct QDBusItem
{
diff --git a/src/qdbus/qdbusviewer/qdbusmodel.h b/src/qdbus/qdbusviewer/qdbusmodel.h
index d9db699..f6b1366 100644
--- a/src/qdbus/qdbusviewer/qdbusmodel.h
+++ b/src/qdbus/qdbusviewer/qdbusmodel.h
@@ -43,12 +43,13 @@
#define QDBUSMODEL_H
#include
-#include
+#include
struct QDBusItem;
QT_FORWARD_DECLARE_CLASS(QDomDocument);
QT_FORWARD_DECLARE_CLASS(QDomElement);
+QT_FORWARD_DECLARE_CLASS(QDBusObjectPath)
class QDBusModel: public QAbstractItemModel
diff --git a/src/qdbus/qdbusviewer/qdbusviewer.cpp b/src/qdbus/qdbusviewer/qdbusviewer.cpp
index c6d8f1f..95072fb 100644
--- a/src/qdbus/qdbusviewer/qdbusviewer.cpp
+++ b/src/qdbus/qdbusviewer/qdbusviewer.cpp
@@ -43,11 +43,11 @@
#include "qdbusmodel.h"
#include "propertydialog.h"
-#include
#include
#include
#include
+#include
#include
#include
#include
@@ -58,6 +58,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
diff --git a/src/qdbus/qdbusviewer/qdbusviewer.h b/src/qdbus/qdbusviewer/qdbusviewer.h
index cbfcb68..00e166a 100644
--- a/src/qdbus/qdbusviewer/qdbusviewer.h
+++ b/src/qdbus/qdbusviewer/qdbusviewer.h
@@ -43,7 +43,7 @@
#define QDBUSVIEWER_H
#include
-#include
+#include
QT_FORWARD_DECLARE_CLASS(QTreeView)
QT_FORWARD_DECLARE_CLASS(QTreeWidget)
--
1.7.10.4