summaryrefslogtreecommitdiffstats
path: root/tools/dbusxml2qt3/classgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dbusxml2qt3/classgen.cpp')
-rw-r--r--tools/dbusxml2qt3/classgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dbusxml2qt3/classgen.cpp b/tools/dbusxml2qt3/classgen.cpp
index fbe622b..af2de88 100644
--- a/tools/dbusxml2qt3/classgen.cpp
+++ b/tools/dbusxml2qt3/classgen.cpp
@@ -401,7 +401,7 @@ static void openClassDeclaration(const Class& classData,
stream << " TQ_OBJECT" << endl;
stream << "public:" << endl;
stream << " " << classData.name
- << "(const TQString& service, const TQString& path, TQObject* tqparent = 0, const char* name = 0);" << endl;
+ << "(const TQString& service, const TQString& path, TQObject* parent = 0, const char* name = 0);" << endl;
stream << endl;
stream << " virtual ~" << classData.name << "();" << endl;