diff --git a/dbus-qt.h b/dbus-qt.h index 6b05f67..8723ad9 100644 --- a/dbus-qt.h +++ b/dbus-qt.h @@ -30,6 +30,7 @@ * Two approaches - one presented below a DBusQtConnection * object which is a TQt wrapper around DBusConnection class DBusQtConnection : public TQObject { + Q_OBJECT TQ_OBJECT public: DBusQtConnection( const char *address=0, TQObject *tqparent=0, @@ -55,6 +56,7 @@ private: * * Second approach is to have a static TQt dispatcher like: class DBusQtNotifier : public TQObject { + Q_OBJECT TQ_OBJECT public: static DBusQtNotifier* dbus_qt_notifier();