From 8207d4341af25b732049fc1f69d3c463d855cae1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:44:46 +0900 Subject: [PATCH] Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit 69a0dca363007499aeed87b10fc51c2b56daf3cf) --- 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 0d9770f..95134ae 100644 --- a/connection.h +++ b/connection.h @@ -36,7 +36,7 @@ namespace DBusQt { class Connection : public TQObject { - Q_OBJECT + TQ_OBJECT public: Connection( TQObject *parent =0 ); diff --git a/dbus-qt.h b/dbus-qt.h index 72f242a..668601f 100644 --- a/dbus-qt.h +++ b/dbus-qt.h @@ -29,7 +29,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 *parent=0, @@ -55,7 +55,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(); diff --git a/integrator.h b/integrator.h index fe35094..e67eb9d 100644 --- a/integrator.h +++ b/integrator.h @@ -41,7 +41,7 @@ namespace DBusQt class Timeout : public TQObject { - Q_OBJECT + TQ_OBJECT public: Timeout( TQObject *parent, DBusTimeout *t ); @@ -58,7 +58,7 @@ namespace DBusQt class Integrator : public TQObject { - Q_OBJECT + TQ_OBJECT public: Integrator( DBusConnection *connection, TQObject *parent ); diff --git a/server.h b/server.h index 54650f4..f571c5b 100644 --- a/server.h +++ b/server.h @@ -31,7 +31,7 @@ namespace DBusQt class Connection; class Server : public TQObject { - Q_OBJECT + TQ_OBJECT public: Server( const TQString& addr = TQString(), TQObject *parent=0 );