diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/commandline.cpp | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip |
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
Diffstat (limited to 'src/commandline.cpp')
-rw-r--r-- | src/commandline.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 <ktextbrowser.h> #include <kapplication.h> #include <klocale.h> -#include <qstring.h> -#include <qlayout.h> -#include <qvbox.h> +#include <tqstring.h> +#include <tqlayout.h> +#include <tqvbox.h> 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"<<endl; return -1; } cFactory*cfa = static_cast<cFactory*>(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; } |