summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-17 16:02:10 -0600
committerTimothy Pearson <[email protected]>2012-02-17 16:02:10 -0600
commit653e1bd92e3266401e34653c598f4b9dc934cc46 (patch)
tree8cbf92e0c3c2de99975c0f4f822f83c768fe61e7
parent53193f5e4e4abba51448414c282f2b844bc42b0c (diff)
downloaddbus-1-tqt-653e1bd92e3266401e34653c598f4b9dc934cc46.tar.gz
dbus-1-tqt-653e1bd92e3266401e34653c598f4b9dc934cc46.zip
Remove spurious TQ_OBJECT instances
-rw-r--r--tools/dbusxml2qt3/classgen.cpp2
-rw-r--r--tqdbusconnection.h2
-rw-r--r--tqdbusconnection_p.h2
-rw-r--r--tqdbusproxy.h4
-rw-r--r--tqdbusserver.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/tools/dbusxml2qt3/classgen.cpp b/tools/dbusxml2qt3/classgen.cpp
index 6ded6ca..ee626a5 100644
--- a/tools/dbusxml2qt3/classgen.cpp
+++ b/tools/dbusxml2qt3/classgen.cpp
@@ -398,7 +398,7 @@ static void openClassDeclaration(const Class& classData,
stream << "class " << classData.name << " : public TQObject" << endl;
stream << "{" << endl;
stream << " Q_OBJECT" << endl;
- stream << " TQ_OBJECT" << endl;
+ stream << " " << endl;
stream << "public:" << endl;
stream << " " << classData.name
<< "(const TQString& service, const TQString& path, TQObject* parent = 0, const char* name = 0);" << endl;
diff --git a/tqdbusconnection.h b/tqdbusconnection.h
index 1147889..f242919 100644
--- a/tqdbusconnection.h
+++ b/tqdbusconnection.h
@@ -472,7 +472,7 @@ public:
* class DBusSignalReceiver : public TQObject
* {
* Q_OBJECT
- * TQ_OBJECT
+ *
* public slots:
* void dbusSignal(const TQT_DBusMessage&);
* };
diff --git a/tqdbusconnection_p.h b/tqdbusconnection_p.h
index c099b98..cf64c2c 100644
--- a/tqdbusconnection_p.h
+++ b/tqdbusconnection_p.h
@@ -59,7 +59,7 @@ struct DBusServer;
class TQT_DBusConnectionPrivate: public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
TQT_DBusConnectionPrivate(TQObject *parent = 0);
diff --git a/tqdbusproxy.h b/tqdbusproxy.h
index 7cf2e52..4c2ea54 100644
--- a/tqdbusproxy.h
+++ b/tqdbusproxy.h
@@ -175,7 +175,7 @@
* class MyReceiver : public TQObject
* {
* Q_OBJECT
- * TQ_OBJECT
+ *
* public slots:
* void handleDBusSignal(const TQT_DBusMessage&);
* };
@@ -237,7 +237,7 @@ template <class T> class TQValueList;
class TQDBUS_EXPORT TQT_DBusProxy : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* @brief Creates a proxy without binding it to a service or connection
diff --git a/tqdbusserver.h b/tqdbusserver.h
index 3a4be5d..539ea38 100644
--- a/tqdbusserver.h
+++ b/tqdbusserver.h
@@ -36,7 +36,7 @@ class TQT_DBusError;
class TQDBUS_EXPORT TQT_DBusServer: public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
TQT_DBusServer(const TQString &address, TQObject *parent = 0);