diff options
author | Timothy Pearson <[email protected]> | 2013-02-06 19:45:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-06 19:45:36 -0600 |
commit | 1093e60627e83e9f88f4478f249a9dc2c054ba08 (patch) | |
tree | 5b896132582c5dc409bf235a14959fef44705717 | |
parent | b4e9168b48795132419fbd9cfddfa4d33ed4b724 (diff) | |
download | tdegames-1093e60627e83e9f88f4478f249a9dc2c054ba08.tar.gz tdegames-1093e60627e83e9f88f4478f249a9dc2c054ba08.zip |
Rename KCmd to avoid conflicts with KDE4
-rw-r--r-- | atlantik/client/main.cpp | 4 | ||||
-rw-r--r-- | kbattleship/kbattleship/main.cpp | 4 | ||||
-rw-r--r-- | kenolaba/kenolaba.cpp | 4 | ||||
-rw-r--r-- | knetwalk/src/main.cpp | 4 | ||||
-rw-r--r-- | kolf/main.cpp | 4 | ||||
-rw-r--r-- | kpat/main.cpp | 4 | ||||
-rw-r--r-- | ksirtet/ksirtet/check_score.cpp | 2 | ||||
-rw-r--r-- | ksokoban/main.cpp | 4 | ||||
-rw-r--r-- | ktuberling/main.cpp | 4 | ||||
-rw-r--r-- | lskat/lskat/main.cpp | 4 | ||||
-rw-r--r-- | twin4/twin4/main.cpp | 4 |
11 files changed, 21 insertions, 21 deletions
diff --git a/atlantik/client/main.cpp b/atlantik/client/main.cpp index 21a3f0ed..65c35d4c 100644 --- a/atlantik/client/main.cpp +++ b/atlantik/client/main.cpp @@ -23,7 +23,7 @@ #include "main.h" #include "atlantik.h" -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "h", 0, 0 }, { "host <argument>", I18N_NOOP("Connect to this host"), 0 }, @@ -31,7 +31,7 @@ static KCmdLineOptions options[] = { "port <argument>", I18N_NOOP("Connect at this port"), "1234" }, { "g", 0, 0 }, { "game <argument>", I18N_NOOP("Join this game"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) diff --git a/kbattleship/kbattleship/main.cpp b/kbattleship/kbattleship/main.cpp index a9a97a98..faffd375 100644 --- a/kbattleship/kbattleship/main.cpp +++ b/kbattleship/kbattleship/main.cpp @@ -23,10 +23,10 @@ extern const char *clientName, *clientVersion, *clientDescription; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { {"!+[URL]", I18N_NOOP("URL of server to attach to. In the form kbattleship://host:port/ or host:port"), 0}, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) diff --git a/kenolaba/kenolaba.cpp b/kenolaba/kenolaba.cpp index fe9bbacc..d391cbb1 100644 --- a/kenolaba/kenolaba.cpp +++ b/kenolaba/kenolaba.cpp @@ -16,13 +16,13 @@ static const char description[] = I18N_NOOP("Board game inspired by Abalone"); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "h", 0, 0}, { "host <host>", I18N_NOOP("Use 'host' for network game"), 0 }, { "p", 0, 0}, { "port <port>", I18N_NOOP("Use 'port' for network game"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; AbTop *create(TDECmdLineArgs *args) diff --git a/knetwalk/src/main.cpp b/knetwalk/src/main.cpp index 94b54af1..581bb636 100644 --- a/knetwalk/src/main.cpp +++ b/knetwalk/src/main.cpp @@ -28,13 +28,13 @@ I18N_NOOP("KNetWalk, a game for system administrators."); static const char version[] = "1.0"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "Novice", I18N_NOOP( "Start in novice mode" ), 0 }, { "Normal", I18N_NOOP( "Start in normal mode" ), 0 }, { "Expert", I18N_NOOP( "Start in expert mode" ), 0 }, { "Master", I18N_NOOP( "Start in master mode" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char ** argv) diff --git a/kolf/main.cpp b/kolf/main.cpp index be2d4c6f..7fae6ee8 100644 --- a/kolf/main.cpp +++ b/kolf/main.cpp @@ -19,11 +19,11 @@ I18N_NOOP("TDE Minigolf Game"); static const char version[] = "1.1.1"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+file", I18N_NOOP("File"), 0 }, { "course-info ", I18N_NOOP("Print course information and exit"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; diff --git a/kpat/main.cpp b/kpat/main.cpp index caee083b..0d7ffd1f 100644 --- a/kpat/main.cpp +++ b/kpat/main.cpp @@ -25,10 +25,10 @@ static const char description[] = I18N_NOOP("TDE Patience Game"); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+file", I18N_NOOP("File to load"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main( int argc, char **argv ) diff --git a/ksirtet/ksirtet/check_score.cpp b/ksirtet/ksirtet/check_score.cpp index 6795e7ca..f6c97210 100644 --- a/ksirtet/ksirtet/check_score.cpp +++ b/ksirtet/ksirtet/check_score.cpp @@ -7,7 +7,7 @@ int main(int argc, char **argv) { // read argument TDECmdLineArgs::init(argc, argv, "check_score", 0, 0, true); - static KCmdLineOptions options[] = + static TDECmdLineOptions options[] = { {"+file", "Count of removed lines", 0} }; TDECmdLineArgs::addCmdLineOptions(options); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/ksokoban/main.cpp b/ksokoban/main.cpp index f3536042..cdef8419 100644 --- a/ksokoban/main.cpp +++ b/ksokoban/main.cpp @@ -32,10 +32,10 @@ static const char description[] = I18N_NOOP("The japanese warehouse keeper game" static const char version[] = "0.4.2"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[file]", I18N_NOOP("Level collection file to load"), 0 }, - KCmdLineLastOption // End of options. + TDECmdLineLastOption // End of options. }; diff --git a/ktuberling/main.cpp b/ktuberling/main.cpp index 9408c336..17430152 100644 --- a/ktuberling/main.cpp +++ b/ktuberling/main.cpp @@ -12,9 +12,9 @@ #include "toplevel.h" -static KCmdLineOptions options[] = { +static TDECmdLineOptions options[] = { { "+<tuberling-file>", I18N_NOOP("Potato to open"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; diff --git a/lskat/lskat/main.cpp b/lskat/lskat/main.cpp index 434e8e43..00b8b7a1 100644 --- a/lskat/lskat/main.cpp +++ b/lskat/lskat/main.cpp @@ -17,11 +17,11 @@ #include <kaboutdata.h> #include "lskat.h" -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "d", 0, 0}, { "debug <level>", I18N_NOOP("Enter debug level"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int global_debug; diff --git a/twin4/twin4/main.cpp b/twin4/twin4/main.cpp index 35ddc6ff..408489e2 100644 --- a/twin4/twin4/main.cpp +++ b/twin4/twin4/main.cpp @@ -24,11 +24,11 @@ #define TWIN4_VERSION "v1.10" -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "d", 0, 0}, { "debug <level>", I18N_NOOP("Enter debug level"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int global_debug; |