From d7633c195a464e4d344ada9eea61afd10110598a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 4 May 2011 19:54:24 +0000 Subject: Port kdesvn to TQt4 This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/commandline.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/commandline.cpp') diff --git a/src/commandline.cpp b/src/commandline.cpp index 4aaabd3..5d24062 100644 --- a/src/commandline.cpp +++ b/src/commandline.cpp @@ -25,9 +25,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include class CommandLineData { @@ -37,7 +37,7 @@ public: void displayHelp(); - QString cmd; + TQString cmd; }; CommandLine::CommandLine(KCmdLineArgs*_args) @@ -66,12 +66,12 @@ int CommandLine::exec() } KLibFactory *factory = KLibLoader::self()->factory("libkdesvnpart"); if (factory) { - if (QCString(factory->className())!="cFactory") { + if (TQCString(factory->className())!="cFactory") { kdDebug()<<"wrong factory"<(factory); - commandline_part * cpart = cfa->createCommandIf((QObject*)0,(const char*)0,m_args); + commandline_part * cpart = cfa->createCommandIf((TQObject*)0,(const char*)0,m_args); int res = cpart->exec(); return res; } -- cgit v1.2.1