summaryrefslogtreecommitdiffstats
path: root/knetwalk
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:44 -0600
commit4ffd16a310c74db19a5ba0c297234470f01cd7b3 (patch)
tree46f830ac3b70b614ab623571394f0dc49a5dd83b /knetwalk
parentaa1c1b863d595a4cbd3b1b83b23d5334ca37bc14 (diff)
downloadtdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.tar.gz
tdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'knetwalk')
-rw-r--r--knetwalk/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knetwalk/src/main.cpp b/knetwalk/src/main.cpp
index 18815e3d..4099d4ab 100644
--- a/knetwalk/src/main.cpp
+++ b/knetwalk/src/main.cpp
@@ -45,14 +45,14 @@ int main(int argc, char ** argv)
about.addAuthor( "Andi Peredri", 0, "andi@ukr.net" );
about.addAuthor( "Thomas Nagy", 0, "tnagy2^8@yahoo.fr" );
- KCmdLineArgs::init(argc, argv, &about);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("Novice")) Settings::setSkill(Settings::EnumSkill::Novice);
if (args->isSet("Normal")) Settings::setSkill(Settings::EnumSkill::Normal);
if (args->isSet("Expert")) Settings::setSkill(Settings::EnumSkill::Expert);