summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/dbusxml2qt3/classgen.cpp2
-rw-r--r--tools/dbusxml2qt3/methodgen.cpp4
2 files changed, 3 insertions, 3 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;
diff --git a/tools/dbusxml2qt3/methodgen.cpp b/tools/dbusxml2qt3/methodgen.cpp
index 39d6952..ec569ab 100644
--- a/tools/dbusxml2qt3/methodgen.cpp
+++ b/tools/dbusxml2qt3/methodgen.cpp
@@ -1124,8 +1124,8 @@ void MethodGenerator::writeSignalHandler(const Class& classData,
void MethodGenerator::writeProxyBegin(const Class& classData, TQTextStream& stream)
{
stream << classData.name << "::" << classData.name
- << "(const TQString& service, const TQString& path, TQObject* tqparent, const char* name)" << endl;
- stream << " : TQObject(tqparent, name)," << endl;
+ << "(const TQString& service, const TQString& path, TQObject* parent, const char* name)" << endl;
+ stream << " : TQObject(parent, name)," << endl;
stream << " m_baseProxy(new TQT_DBusProxy())" << endl;
stream << "{" << endl;
stream << " m_baseProxy->setInterface(\""