diff options
author | Timothy Pearson <[email protected]> | 2013-01-19 18:46:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-19 18:46:44 -0600 |
commit | 4ffd16a310c74db19a5ba0c297234470f01cd7b3 (patch) | |
tree | 46f830ac3b70b614ab623571394f0dc49a5dd83b /kolf/main.cpp | |
parent | aa1c1b863d595a4cbd3b1b83b23d5334ca37bc14 (diff) | |
download | tdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.tar.gz tdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kolf/main.cpp')
-rw-r--r-- | kolf/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kolf/main.cpp b/kolf/main.cpp index b59e6fd8..9dd9d225 100644 --- a/kolf/main.cpp +++ b/kolf/main.cpp @@ -41,14 +41,14 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) aboutData.addCredit("Rob Renaud", I18N_NOOP("Wall-bouncing help"), 0); aboutData.addCredit("Aaron Seigo", I18N_NOOP("Suggestions, bug reports"), 0); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); // I've actually added this for my web site uploaded courses display - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if (args->isSet("course-info")) { - KCmdLineArgs::enable_i18n(); + TDECmdLineArgs::enable_i18n(); TQString filename(TQFile::decodeName(args->getOption("course-info"))); if (TQFile::exists(filename)) @@ -66,7 +66,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) } else { - KCmdLineArgs::usage(i18n("Course %1 does not exist.").arg(filename.latin1())); + TDECmdLineArgs::usage(i18n("Course %1 does not exist.").arg(filename.latin1())); } } |