From 884c85c306b64ff28634762d311c6d834b85a9ca Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:02:11 -0600 Subject: [PATCH] Remove spurious TQ_OBJECT instances --- connection.h | 2 +- dbus-qt.h | 4 ++-- integrator.h | 4 ++-- server.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/connection.h b/connection.h index 9962841..c7d2e35 100644 --- a/connection.h +++ b/connection.h @@ -38,7 +38,7 @@ namespace DBusQt { class Connection : public TQObject { Q_OBJECT - TQ_OBJECT + public: Connection( TQObject *parent =0 ); Connection( const TQString& host, diff --git a/dbus-qt.h b/dbus-qt.h index 71b7f50..db16bbd 100644 --- a/dbus-qt.h +++ b/dbus-qt.h @@ -31,7 +31,7 @@ * object which is a TQt wrapper around DBusConnection class DBusQtConnection : public TQObject { Q_OBJECT - TQ_OBJECT + public: DBusQtConnection( const char *address=0, TQObject *parent=0, const char *name=0 ); @@ -57,7 +57,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(); void addConnection(DBusConnection* connection); diff --git a/integrator.h b/integrator.h index 43fb4dc..98ecbad 100644 --- a/integrator.h +++ b/integrator.h @@ -43,7 +43,7 @@ namespace DBusQt class Timeout : public TQObject { Q_OBJECT - TQ_OBJECT + public: Timeout( TQObject *parent, DBusTimeout *t ); public: @@ -60,7 +60,7 @@ namespace DBusQt class Integrator : public TQObject { Q_OBJECT - TQ_OBJECT + public: Integrator( DBusConnection *connection, TQObject *parent ); Integrator( DBusServer *server, TQObject *parent ); diff --git a/server.h b/server.h index 8d2c6a7..3186bc1 100644 --- a/server.h +++ b/server.h @@ -33,7 +33,7 @@ namespace DBusQt class Server : public TQObject { Q_OBJECT - TQ_OBJECT + public: Server( const TQString& addr = TQString(), TQObject *parent=0 ); ~Server();