summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 18:46:44 -0600
committerTimothy Pearson <[email protected]>2013-01-19 18:46:44 -0600
commit4ffd16a310c74db19a5ba0c297234470f01cd7b3 (patch)
tree46f830ac3b70b614ab623571394f0dc49a5dd83b /atlantik
parentaa1c1b863d595a4cbd3b1b83b23d5334ca37bc14 (diff)
downloadtdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.tar.gz
tdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/client/atlantik.cpp4
-rw-r--r--atlantik/client/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/atlantik/client/atlantik.cpp b/atlantik/client/atlantik.cpp
index 447b0c89..8cd33f2c 100644
--- a/atlantik/client/atlantik.cpp
+++ b/atlantik/client/atlantik.cpp
@@ -199,7 +199,7 @@ Atlantik::Atlantik ()
m_mainLayout->setColStretch(1, 1); // make m_board stretch horizontally, not the rest
// Check command-line args to see if we need to connect or show Monopigator window
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQCString host = args->getOption("host");
TQCString port = args->getOption("port");
@@ -787,7 +787,7 @@ void Atlantik::sendHandshake()
m_atlantikNetwork->setImage(m_config.playerImage);
// Check command-line args to see if we need to auto-join
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQCString game = args->getOption("game");
if (!game.isNull())
diff --git a/atlantik/client/main.cpp b/atlantik/client/main.cpp
index 4dacf008..4c158239 100644
--- a/atlantik/client/main.cpp
+++ b/atlantik/client/main.cpp
@@ -57,8 +57,8 @@ int main(int argc, char *argv[])
aboutData.addCredit("Elhay Achiam", I18N_NOOP("icons"), "[email protected]");
aboutData.addCredit("Carlo Caneva", I18N_NOOP("icons"), "[email protected]", "http://www.molecola.com/");
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions (options);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions (options);
KApplication::addCmdLineOptions();
KApplication kapplication;