summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit501d489d46c5458357f4d9d16ae6e67c1cb15aee (patch)
tree39042ae4615b901ca9e6e6e208196eee6ef5335b /tools
parentf32d0d5fd00bb0fb863bf82a406f98ccf909cd8b (diff)
downloaddbus-1-tqt-501d489d46c5458357f4d9d16ae6e67c1cb15aee.tar.gz
dbus-1-tqt-501d489d46c5458357f4d9d16ae6e67c1cb15aee.zip
rename the following methods:v3.5.13
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-1-tqt@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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(\""