summaryrefslogtreecommitdiff
path: root/qt4
diff options
context:
space:
mode:
Diffstat (limited to 'qt4')
-rw-r--r--qt4/TelepathyQt4/Client/channel.cpp8
-rw-r--r--qt4/TelepathyQt4/Client/channel.h6
-rw-r--r--qt4/TelepathyQt4/Client/pending-channel.cpp1
3 files changed, 9 insertions, 6 deletions
diff --git a/qt4/TelepathyQt4/Client/channel.cpp b/qt4/TelepathyQt4/Client/channel.cpp
index 8d26e507f..f0e499c52 100644
--- a/qt4/TelepathyQt4/Client/channel.cpp
+++ b/qt4/TelepathyQt4/Client/channel.cpp
@@ -19,16 +19,16 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define IN_TELEPATHY_QT4_HEADER
-#include "channel.h"
-#include "channel.moc.hpp"
+#include <TelepathyQt4/Client/Channel>
-#include "dbus.h"
+#include "channel.moc.hpp"
#include <TelepathyQt4/_gen/cli-channel-body.hpp>
#include <TelepathyQt4/_gen/cli-channel.moc.hpp>
+#include <TelepathyQt4/Client/Connection>
#include <TelepathyQt4/Constants>
+
#include <TelepathyQt4/debug-internal.h>
#include <QQueue>
diff --git a/qt4/TelepathyQt4/Client/channel.h b/qt4/TelepathyQt4/Client/channel.h
index 369753a36..9850478c5 100644
--- a/qt4/TelepathyQt4/Client/channel.h
+++ b/qt4/TelepathyQt4/Client/channel.h
@@ -47,19 +47,21 @@
#include <TelepathyQt4/_gen/cli-channel.h>
-#include <TelepathyQt4/Client/Connection>
#include <TelepathyQt4/Client/DBus>
#include <TelepathyQt4/Client/DBusProxy>
#include <TelepathyQt4/Client/OptionalInterfaceFactory>
#include <QSet>
-#include <QDBusPendingCallWatcher>
+
+class QDBusPendingCallWatcher;
namespace Telepathy
{
namespace Client
{
+class Connection;
+
/**
* \class Channel
* \ingroup clientchannel
diff --git a/qt4/TelepathyQt4/Client/pending-channel.cpp b/qt4/TelepathyQt4/Client/pending-channel.cpp
index 2f97080e9..245a54a35 100644
--- a/qt4/TelepathyQt4/Client/pending-channel.cpp
+++ b/qt4/TelepathyQt4/Client/pending-channel.cpp
@@ -24,6 +24,7 @@
#include "pending-channel.moc.hpp"
#include <TelepathyQt4/Client/Channel>
+#include <TelepathyQt4/Client/Connection>
#include <TelepathyQt4/debug-internal.h>
namespace Telepathy