summaryrefslogtreecommitdiffstats
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
parentaa1c1b863d595a4cbd3b1b83b23d5334ca37bc14 (diff)
downloadtdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.tar.gz
tdegames-4ffd16a310c74db19a5ba0c297234470f01cd7b3.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--atlantik/client/atlantik.cpp4
-rw-r--r--atlantik/client/main.cpp4
-rw-r--r--kasteroids/main.cpp2
-rw-r--r--katomic/main.cpp2
-rw-r--r--kbackgammon/main.cpp2
-rw-r--r--kbattleship/kbattleship/kbattleship.cpp2
-rw-r--r--kbattleship/kbattleship/main.cpp4
-rw-r--r--kblackbox/main.cpp2
-rw-r--r--kbounce/main.cpp2
-rw-r--r--kenolaba/kenolaba.cpp8
-rw-r--r--kgoldrunner/src/main.cpp2
-rw-r--r--kjumpingcube/main.cpp2
-rw-r--r--klines/main.cpp2
-rw-r--r--kmahjongg/main.cpp2
-rw-r--r--kmines/main.cpp2
-rw-r--r--knetwalk/src/main.cpp6
-rw-r--r--kolf/main.cpp10
-rw-r--r--konquest/Konquest.cc2
-rw-r--r--kpat/main.cpp6
-rw-r--r--kpoker/main.cpp2
-rw-r--r--kreversi/main.cpp2
-rw-r--r--ksame/main.cpp2
-rw-r--r--kshisen/main.cpp2
-rw-r--r--ksirtet/ksirtet/check_score.cpp8
-rw-r--r--ksmiletris/main.cpp2
-rw-r--r--ksnake/main.cpp2
-rw-r--r--ksokoban/main.cpp6
-rw-r--r--kspaceduel/main.cpp2
-rw-r--r--ktron/main.cpp2
-rw-r--r--ktuberling/main.cpp6
-rw-r--r--libksirtet/base/factory.cpp2
-rw-r--r--lskat/lskat/main.cpp6
-rw-r--r--twin4/twin4/main.cpp6
33 files changed, 58 insertions, 58 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"), "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;
diff --git a/kasteroids/main.cpp b/kasteroids/main.cpp
index 3d7140cd..978ea63c 100644
--- a/kasteroids/main.cpp
+++ b/kasteroids/main.cpp
@@ -27,7 +27,7 @@ int main( int argc, char *argv[] )
KASTEROIDS_VERSION, description, KAboutData::License_GPL,
"(c) 1997, Martin R. Jones");
aboutData.addAuthor("Martin R. Jones",0, "mjones@kde.org");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/katomic/main.cpp b/katomic/main.cpp
index aecda398..86b270a2 100644
--- a/katomic/main.cpp
+++ b/katomic/main.cpp
@@ -50,7 +50,7 @@ int main(int argc, char **argv)
aboutData.addCredit("Kai Jung", I18N_NOOP("6 new levels"), "jung@fh-fresenius.de");
aboutData.addCredit("Danny Allen", I18N_NOOP("Game graphics and application icon"), "danny@dannyallen.co.uk");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
TQApplication::setColorSpec(TQApplication::ManyColor);
KApplication a;
diff --git a/kbackgammon/main.cpp b/kbackgammon/main.cpp
index 7a40d49c..94919eea 100644
--- a/kbackgammon/main.cpp
+++ b/kbackgammon/main.cpp
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
about.addCredit ("Bo Thorsen", I18N_NOOP("Initial anti-aliasing of the board"),
"gobo@imada.sdu.dk");
- KCmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::init(argc, argv, &about);
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
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");
diff --git a/kblackbox/main.cpp b/kblackbox/main.cpp
index b21650e7..63f877d6 100644
--- a/kblackbox/main.cpp
+++ b/kblackbox/main.cpp
@@ -30,7 +30,7 @@ int main( int argc, char **argv )
KBVERSION, description, KAboutData::License_GPL,
"(c) 1999-2000, Robert Cimrman");
aboutData.addAuthor("Robert Cimrman",0, "cimrman3@students.zcu.cz");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/kbounce/main.cpp b/kbounce/main.cpp
index b5363505..f5cdfe72 100644
--- a/kbounce/main.cpp
+++ b/kbounce/main.cpp
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
aboutData.addAuthor("Sandro Sigala", I18N_NOOP("Highscore"), "ssigala@globalnet.it");
aboutData.addAuthor("Benjamin Meyer", I18N_NOOP("Contributions"), "ben+kbounce@meyerhome.net");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
TQApplication::setColorSpec(TQApplication::ManyColor);
KApplication a;
diff --git a/kenolaba/kenolaba.cpp b/kenolaba/kenolaba.cpp
index 754726c2..6f05ffb8 100644
--- a/kenolaba/kenolaba.cpp
+++ b/kenolaba/kenolaba.cpp
@@ -25,7 +25,7 @@ static KCmdLineOptions options[] =
KCmdLineLastOption
};
-AbTop *create(KCmdLineArgs *args)
+AbTop *create(TDECmdLineArgs *args)
{
AbTop* top = new AbTop;
if (args->isSet("port"))
@@ -43,14 +43,14 @@ int main(int argc, char *argv[])
"(c) 1997-2000, Josef Weidendorfer");
aboutData.addAuthor("Josef Weidendorfer",0, "Josef.Weidendorfer@gmx.de");
aboutData.addAuthor("Robert Williams");
- 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");
/* command line handling */
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
/* session management */
if ( app.isRestored() ) {
diff --git a/kgoldrunner/src/main.cpp b/kgoldrunner/src/main.cpp
index 63be6a71..f7058c20 100644
--- a/kgoldrunner/src/main.cpp
+++ b/kgoldrunner/src/main.cpp
@@ -26,7 +26,7 @@ int main (int argc, char **argv)
"ianw2@optusnet.com.au" );
about.addAuthor( "Marco Krüger", I18N_NOOP("Original author"), 0);
- KCmdLineArgs::init (argc, argv, &about);
+ TDECmdLineArgs::init (argc, argv, &about);
KApplication app;
diff --git a/kjumpingcube/main.cpp b/kjumpingcube/main.cpp
index 5f2e314f..4ae3490f 100644
--- a/kjumpingcube/main.cpp
+++ b/kjumpingcube/main.cpp
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
"(c) 1998-2000, Matthias Kiefer");
aboutData.addAuthor("Matthias Kiefer",0, "matthias.kiefer@gmx.de");
aboutData.addAuthor("Benjamin Meyer",I18N_NOOP("Various improvements"), "ben+kjumpingcube@meyerhome.net");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/klines/main.cpp b/klines/main.cpp
index 4bbd6b9e..3a81563b 100644
--- a/klines/main.cpp
+++ b/klines/main.cpp
@@ -40,7 +40,7 @@ int main( int argc, char **argv )
description, KAboutData::License_GPL);
aboutData.addAuthor("Roman Merzlyakov", I18N_NOOP("Original author"), "roman@sbrf.barrt.ru");
aboutData.addAuthor("Roman Razilov", I18N_NOOP("Rewrite and Extension"), "Roman.Razilov@gmx.de");
- KCmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/kmahjongg/main.cpp b/kmahjongg/main.cpp
index 579c9114..3a8eefc7 100644
--- a/kmahjongg/main.cpp
+++ b/kmahjongg/main.cpp
@@ -20,7 +20,7 @@ int main( int argc, char** argv )
aboutData.addAuthor("Osvaldo Stark", I18N_NOOP("Tile set contributor and web page maintainer"), "starko@dnet.it");
aboutData.addCredit("Benjamin Meyer", I18N_NOOP("Code cleanup"), "ben+kmahjongg@meyerhome.net");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/kmines/main.cpp b/kmines/main.cpp
index 9cdcec4d..7696b350 100644
--- a/kmines/main.cpp
+++ b/kmines/main.cpp
@@ -245,7 +245,7 @@ int main(int argc, char **argv)
aboutData.addCredit("Andreas Zehender", I18N_NOOP("Smiley pixmaps"));
aboutData.addCredit("Mikhail Kourinny", I18N_NOOP("Solver/Adviser"));
aboutData.addCredit("Thomas Capricelli", I18N_NOOP("Magic reveal mode"));
- KCmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
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);
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()));
}
}
diff --git a/konquest/Konquest.cc b/konquest/Konquest.cc
index 85a16e92..9a23ed89 100644
--- a/konquest/Konquest.cc
+++ b/konquest/Konquest.cc
@@ -16,7 +16,7 @@ main(int argc, char **argv)
KONQUEST_VERSION, description, KAboutData::License_GPL,
I18N_NOOP("Copyright (c) 1999-2001, Developers"));
aboutData.addAuthor("Russ Steffen",0, "rsteffen@bayarea.net");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
TQApplication::setGlobalMouseTracking( true );
diff --git a/kpat/main.cpp b/kpat/main.cpp
index 95637b81..b1536e7d 100644
--- a/kpat/main.cpp
+++ b/kpat/main.cpp
@@ -53,9 +53,9 @@ int main( int argc, char **argv )
aboutData.addAuthor("Maren Pakura", I18N_NOOP("Documentation"), "maren@kde.org");
aboutData.addAuthor("Inge Wallin", I18N_NOOP("Bug fixes"), "inge@lysator.liu.se");
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions (options);
- KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions (options);
+ TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/kpoker/main.cpp b/kpoker/main.cpp
index 68e7cc88..9ec661a7 100644
--- a/kpoker/main.cpp
+++ b/kpoker/main.cpp
@@ -38,7 +38,7 @@ int main( int argc, char *argv[] )
I18N_NOOP("Current maintainer"), "b_mann@gmx.de");
aboutData.addAuthor("Jochen Tuchbreiter",
I18N_NOOP("Original author"), "whynot@mabi.de");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication myApp;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/kreversi/main.cpp b/kreversi/main.cpp
index 2998875e..d60d1576 100644
--- a/kreversi/main.cpp
+++ b/kreversi/main.cpp
@@ -64,7 +64,7 @@ int main(int argc, char **argv)
aboutData.addCredit("Arne Klaassen", I18N_NOOP("Raytraced chips."), 0);
aboutData.addCredit("Inge Wallin", I18N_NOOP("Cleaning, bugfixes, some enhancements."), 0);
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/ksame/main.cpp b/ksame/main.cpp
index 91e87e75..936d6207 100644
--- a/ksame/main.cpp
+++ b/ksame/main.cpp
@@ -37,7 +37,7 @@ int main( int argc, char **argv ) {
KAboutData aboutData("ksame", I18N_NOOP("SameGame"), KSAME_VERSION,
description, KAboutData::License_GPL, copyright);
aboutData.addAuthor("Marcus Kreutzberger", 0, "kreutzbe@informatik.mu-luebeck.de");
- KCmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
KApplication::setColorSpec(TQApplication::ManyColor+TQApplication::CustomColor);
KApplication a;
diff --git a/kshisen/main.cpp b/kshisen/main.cpp
index 1e4adcdc..099bb702 100644
--- a/kshisen/main.cpp
+++ b/kshisen/main.cpp
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
aboutData.addAuthor("Mario Weilguni", I18N_NOOP("Original Author"), "mweilguni@sime.com");
aboutData.addCredit("Jason Lane", I18N_NOOP("Added 'tiles removed' counter\nTile smooth-scaling and window resizing"), "jglane@btopenworld.com");
aboutData.addCredit(0, I18N_NOOP("Thanks also to everyone who should be listed here but isn't!"), 0);
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/ksirtet/ksirtet/check_score.cpp b/ksirtet/ksirtet/check_score.cpp
index e81008b9..6795e7ca 100644
--- a/ksirtet/ksirtet/check_score.cpp
+++ b/ksirtet/ksirtet/check_score.cpp
@@ -6,12 +6,12 @@
int main(int argc, char **argv)
{
// read argument
- KCmdLineArgs::init(argc, argv, "check_score", 0, 0, true);
+ TDECmdLineArgs::init(argc, argv, "check_score", 0, 0, true);
static KCmdLineOptions options[] =
{ {"+file", "Count of removed lines", 0} };
- KCmdLineArgs::addCmdLineOptions(options);
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
- if ( args->count()==0 ) KCmdLineArgs::usage();
+ TDECmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
+ if ( args->count()==0 ) TDECmdLineArgs::usage();
TQString s = args->arg(0);
bool ok;
uint nb = s.toUInt(&ok);
diff --git a/ksmiletris/main.cpp b/ksmiletris/main.cpp
index 20828141..e7bd7ceb 100644
--- a/ksmiletris/main.cpp
+++ b/ksmiletris/main.cpp
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
VERSION, description, KAboutData::License_GPL,
"(c) 1998, Sandro Sigala");
aboutData.addAuthor("Sandro Sigala",0, "ssigala@globalnet.it");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
diff --git a/ksnake/main.cpp b/ksnake/main.cpp
index 684487f8..b5925902 100644
--- a/ksnake/main.cpp
+++ b/ksnake/main.cpp
@@ -41,7 +41,7 @@ int main( int argc, char **argv )
aboutData.addAuthor("Andrew Chant",0, "andrew.chant@utoronto.ca");
aboutData.addCredit("André Luiz dos Santos", I18N_NOOP("AI stuff"), "andre@netvision.com.br");
aboutData.addCredit("Benjamin Meyer", I18N_NOOP("Improvements"), "ben+ksnake@meyerhome.net");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/ksokoban/main.cpp b/ksokoban/main.cpp
index 714349dd..dcd5be72 100644
--- a/ksokoban/main.cpp
+++ b/ksokoban/main.cpp
@@ -53,8 +53,8 @@ main (int argc, char **argv)
I18N_NOOP("For contributing the Sokoban levels included in this game"),
"sasquatch@bentonrea.com",
"http://users.bentonrea.com/~sasquatch/");
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions(options);
// KUniqueApplication::addCmdLineOptions();
// if (!KUniqueApplication::start())
@@ -70,7 +70,7 @@ main (int argc, char **argv)
app.setMainWidget(widget);
widget->show();
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count() > 0) {
widget->openURL(args->url(0));
}
diff --git a/kspaceduel/main.cpp b/kspaceduel/main.cpp
index c189c529..d470c7f6 100644
--- a/kspaceduel/main.cpp
+++ b/kspaceduel/main.cpp
@@ -13,7 +13,7 @@ int main(int argc,char **argv)
KSPACEDUEL_VERSION, description, KAboutData::License_GPL,
"(c) 1998-2000, Andreas Zehender");
aboutData.addAuthor("Andreas Zehender",0, "az@azweb.de");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication myapplication;
MyTopLevelWidget* top = new MyTopLevelWidget( );
diff --git a/ktron/main.cpp b/ktron/main.cpp
index 2ccd65ef..5e9bf2d1 100644
--- a/ktron/main.cpp
+++ b/ktron/main.cpp
@@ -38,7 +38,7 @@ int main(int argc, char* argv[])
KTRON_VERSION, description, KAboutData::License_GPL, notice);
aboutData.addAuthor("Matthias Kiefer",I18N_NOOP("Original author"), "matthias.kiefer@gmx.de");
aboutData.addAuthor("Benjamin Meyer",I18N_NOOP("Various improvements"), "ben+ktron@meyerhome.net");
- KCmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
diff --git a/ktuberling/main.cpp b/ktuberling/main.cpp
index 2b44867a..482902e5 100644
--- a/ktuberling/main.cpp
+++ b/ktuberling/main.cpp
@@ -36,8 +36,8 @@ int main(int argc, char *argv[])
aboutData.addCredit("Agnieszka Czajkowska", I18N_NOOP("New artwork"), "agnieszka@imagegalaxy.de");
aboutData.addCredit("Bas Willems", I18N_NOOP("New artwork"), "cybersurfer@euronet.nl");
aboutData.addCredit("Roger Larsson", I18N_NOOP("Sounds tuning"), "roger.larsson@norran.net");
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
@@ -50,7 +50,7 @@ int main(int argc, char *argv[])
else {
toplevel = new TopLevel();
toplevel->show();
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count())
toplevel->open(args->url(0));
args->clear();
diff --git a/libksirtet/base/factory.cpp b/libksirtet/base/factory.cpp
index b728dd25..3458a46b 100644
--- a/libksirtet/base/factory.cpp
+++ b/libksirtet/base/factory.cpp
@@ -27,7 +27,7 @@ BaseFactory::BaseFactory(const MainData &md, const BaseBoardInfo &bi)
void BaseFactory::init(int argc, char **argv)
{
- KCmdLineArgs::init(argc, argv, _aboutData);
+ TDECmdLineArgs::init(argc, argv, _aboutData);
(void)new KApplication;
KGlobal::locale()->insertCatalogue("libtdegames");
KGlobal::locale()->insertCatalogue("libksirtet");
diff --git a/lskat/lskat/main.cpp b/lskat/lskat/main.cpp
index f753fffd..7631b8ad 100644
--- a/lskat/lskat/main.cpp
+++ b/lskat/lskat/main.cpp
@@ -37,11 +37,11 @@ int main(int argc, char *argv[])
"(c) 2000, Martin Heni");
aboutData.addAuthor("Martin Heni",0, "martin@heni-online.de");
aboutData.addCredit("Laura", I18N_NOOP("Beta testing"), 0);
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
/* command line handling */
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("debug"))
{
diff --git a/twin4/twin4/main.cpp b/twin4/twin4/main.cpp
index b7f56487..f6b32c10 100644
--- a/twin4/twin4/main.cpp
+++ b/twin4/twin4/main.cpp
@@ -44,11 +44,11 @@ int main(int argc, char *argv[])
aboutData.addAuthor("Martin Heni",0, "martin@heni-online.de");
aboutData.addCredit("Laura", I18N_NOOP("Beta testing"), 0);
aboutData.addAuthor("Benjamin Meyer", I18N_NOOP("Code Improvements"), 0);
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
/* command line handling */
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("debug"))
{