From b189cbb146e46360d956d91ac3c931bdac0bbfab Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 6 Apr 2012 01:28:40 +0300 Subject: DBusObject: Add missing Q_OBJECT macro --- TelepathyQt/CMakeLists.txt | 1 + TelepathyQt/dbus-object.cpp | 2 ++ TelepathyQt/dbus-object.h | 1 + 3 files changed, 4 insertions(+) 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 +#include "TelepathyQt/_gen/dbus-object.moc.hpp" + #include 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: -- cgit v1.2.3