summaryrefslogtreecommitdiffstats
path: root/kbattleship
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 /kbattleship
parentaa1c1b863d595a4cbd3b1b83b23d5334ca37bc14 (diff)
downloadtdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.tar.gz
tdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kbattleship')
-rw-r--r--kbattleship/kbattleship/kbattleship.cpp2
-rw-r--r--kbattleship/kbattleship/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kbattleship/kbattleship/kbattleship.cpp b/kbattleship/kbattleship/kbattleship.cpp
index 4a705976..d488f125 100644
--- a/kbattleship/kbattleship/kbattleship.cpp
+++ b/kbattleship/kbattleship/kbattleship.cpp
@@ -1066,7 +1066,7 @@ void KBattleshipWindow::slotChangeEnemyFieldData(int fieldx, int fieldy, int typ
}
void KBattleshipWindow::parseCommandLine() {
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() > 0 )
{
KURL u( args->url(0));
diff --git a/kbattleship/kbattleship/main.cpp b/kbattleship/kbattleship/main.cpp
index f97f7d72..b003851e 100644
--- a/kbattleship/kbattleship/main.cpp
+++ b/kbattleship/kbattleship/main.cpp
@@ -46,8 +46,8 @@ int main(int argc, char *argv[])
aboutData.addCredit("Inge Wallin", I18N_NOOP("Bugfixes and refactoring"), "inge@lysator.liu.se");
aboutData.addCredit("Jakub Stachowski", I18N_NOOP("DNS-SD discovery"), "qbast@go2.pl");
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");