Rename KCmd to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 8e026986e2
commit 0d7d755554

@ -9,10 +9,10 @@
#include <klocale.h> #include <klocale.h>
#include <dcopclient.h> #include <dcopclient.h>
static KCmdLineOptions options[] = static TDECmdLineOptions options[] =
{ {
{ "+location", I18N_NOOP( "METAR location code for the report" ), 0 }, { "+location", I18N_NOOP( "METAR location code for the report" ), 0 },
KCmdLineLastOption TDECmdLineLastOption
}; };
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])

@ -162,14 +162,14 @@ static void listThemes()
} }
} }
static KCmdLineOptions options[] = static TDECmdLineOptions options[] =
{ {
{ "dump", I18N_NOOP("Write out a file containing the actual map"), 0 }, { "dump", I18N_NOOP("Write out a file containing the actual map"), 0 },
{ "theme <file>", I18N_NOOP("The name of the theme to use"), "depths"}, { "theme <file>", I18N_NOOP("The name of the theme to use"), "depths"},
{ "themes", I18N_NOOP("List available themes"), 0 }, { "themes", I18N_NOOP("List available themes"), 0 },
{ "o <file>", I18N_NOOP("The name of the file to write to"), "dump.ppm" }, { "o <file>", I18N_NOOP("The name of the file to write to"), "dump.ppm" },
{ "size <WxH>", I18N_NOOP("The size of the map to dump"), 0 }, { "size <WxH>", I18N_NOOP("The size of the map to dump"), 0 },
KCmdLineLastOption TDECmdLineLastOption
}; };

Loading…
Cancel
Save