Rename KCmd to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent b4e9168b48
commit 1093e60627

@ -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[])

@ -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[])

@ -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)

@ -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)

@ -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
};

@ -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 )

@ -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();

@ -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.
};

@ -12,9 +12,9 @@
#include "toplevel.h"
static KCmdLineOptions options[] = {
static TDECmdLineOptions options[] = {
{ "+<tuberling-file>", I18N_NOOP("Potato to open"), 0 },
KCmdLineLastOption
TDECmdLineLastOption
};

@ -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;

@ -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;

Loading…
Cancel
Save