summaryrefslogtreecommitdiffstats
path: root/apps/ktorrent
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:31 -0600
commitc5528d18d7870d01c4d8f1b8398db31f68bd7b41 (patch)
tree2355f0cceb7570f22465bd51b74b8e99f43d27ae /apps/ktorrent
parent1bbdd977a4b138178fefe6268817db91715481f9 (diff)
downloadktorrent-c5528d18d7870d01c4d8f1b8398db31f68bd7b41.tar.gz
ktorrent-c5528d18d7870d01c4d8f1b8398db31f68bd7b41.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'apps/ktorrent')
-rw-r--r--apps/ktorrent/ktorrentapp.cpp2
-rw-r--r--apps/ktorrent/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/ktorrent/ktorrentapp.cpp b/apps/ktorrent/ktorrentapp.cpp
index 5353116..44f8e1c 100644
--- a/apps/ktorrent/ktorrentapp.cpp
+++ b/apps/ktorrent/ktorrentapp.cpp
@@ -45,7 +45,7 @@ int KTorrentApp::newInstance()
if (!dcopClient()->isRegistered() )
dcopClient()->registerAs(name(), false);
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
bt::Globals::instance().setDebugMode(args->isSet("debug"));
TQString data_dir = KGlobal::dirs()->saveLocation("data","ktorrent");
diff --git a/apps/ktorrent/main.cpp b/apps/ktorrent/main.cpp
index 0bcd5f3..5492f82 100644
--- a/apps/ktorrent/main.cpp
+++ b/apps/ktorrent/main.cpp
@@ -166,8 +166,8 @@ int main(int argc, char **argv)
about.addCredit("Markus Brueffer",I18N_NOOP("Patch to fix free diskspace calculation on FreeBSD"),"markus@brueffer.de");
about.addCredit("caruccio",I18N_NOOP("Patch to load torrents silently from the command line"),"mateus@caruccio.com");
- KCmdLineArgs::init(argc, argv, &about);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::addCmdLineOptions(options);
KTorrentApp::addCmdLineOptions();
if (!KTorrentApp::start())