From 4ffd16a310c74db19a5ba0c297234470f01cd7b3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:44 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- atlantik/client/atlantik.cpp | 4 ++-- atlantik/client/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'atlantik') 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"), "elhay_a@bezeqint.net"); aboutData.addCredit("Carlo Caneva", I18N_NOOP("icons"), "webmaster@molecola.com", "http://www.molecola.com/"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions (options); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions (options); KApplication::addCmdLineOptions(); KApplication kapplication; -- cgit v1.2.1