[Telepathy-commits] [telepathy-qt4/master] Weed out includes in KeyFile

Olli Salli olli.salli at collabora.co.uk
Thu Jan 29 12:10:52 PST 2009


---
 TelepathyQt4/key-file.cpp |    6 ++++--
 TelepathyQt4/key-file.h   |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/TelepathyQt4/key-file.cpp b/TelepathyQt4/key-file.cpp
index 4aa08ca..40b1cc1 100644
--- a/TelepathyQt4/key-file.cpp
+++ b/TelepathyQt4/key-file.cpp
@@ -21,11 +21,13 @@
 
 #include <TelepathyQt4/KeyFile>
 
-#include "debug-internal.h"
-
 #include <QtCore/QByteArray>
 #include <QtCore/QFile>
 #include <QtCore/QHash>
+#include <QtCore/QString>
+#include <QtCore/QStringList>
+
+#include "TelepathyQt4/debug-internal.h"
 
 namespace Telepathy
 {
diff --git a/TelepathyQt4/key-file.h b/TelepathyQt4/key-file.h
index 9374031..4cedeb6 100644
--- a/TelepathyQt4/key-file.h
+++ b/TelepathyQt4/key-file.h
@@ -26,8 +26,10 @@
 #error IN_TELEPATHY_QT4_HEADER
 #endif
 
-#include <QtCore/QString>
-#include <QtCore/QStringList>
+#include <QtGlobal>
+
+class QString;
+class QStringList;
 
 namespace Telepathy
 {
-- 
1.5.6.5




More information about the telepathy-commits mailing list