summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-06 01:28:40 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-06 01:28:40 +0300
commitb189cbb146e46360d956d91ac3c931bdac0bbfab (patch)
treee8128503a8789e55d2697e5b8e5ecc94123ed7ad
parent24209de4511f1a5610e465a4b1be682fd4e1de23 (diff)
DBusObject: Add missing Q_OBJECT macro
-rw-r--r--TelepathyQt/CMakeLists.txt1
-rw-r--r--TelepathyQt/dbus-object.cpp2
-rw-r--r--TelepathyQt/dbus-object.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/TelepathyQt/CMakeLists.txt b/TelepathyQt/CMakeLists.txt
index 8b5be21b..e8e63f73 100644
--- a/TelepathyQt/CMakeLists.txt
+++ b/TelepathyQt/CMakeLists.txt
@@ -869,6 +869,7 @@ if(ENABLE_EXPERIMENTAL_SERVICE_SUPPORT)
base-connection-internal.h
base-protocol.h
base-protocol-internal.h
+ dbus-object.h
dbus-service.h)
add_custom_target(all-generated-service-sources)
diff --git a/TelepathyQt/dbus-object.cpp b/TelepathyQt/dbus-object.cpp
index 9a311d3e..cab20a01 100644
--- a/TelepathyQt/dbus-object.cpp
+++ b/TelepathyQt/dbus-object.cpp
@@ -22,6 +22,8 @@
#include <TelepathyQt/DBusObject>
+#include "TelepathyQt/_gen/dbus-object.moc.hpp"
+
#include <QDBusConnection>
namespace Tp
diff --git a/TelepathyQt/dbus-object.h b/TelepathyQt/dbus-object.h
index 6836a23e..1784fe08 100644
--- a/TelepathyQt/dbus-object.h
+++ b/TelepathyQt/dbus-object.h
@@ -38,6 +38,7 @@ namespace Tp
class TP_QT_EXPORT DBusObject : public QObject
{
+ Q_OBJECT
Q_DISABLE_COPY(DBusObject)
public: