From 3a3518bb002cace6891cdf58a7ee83b3fb15ce8a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Feb 2013 19:45:08 -0600 Subject: [PATCH] Rename KCmd to avoid conflicts with KDE4 --- kalzium/src/main.cpp | 4 ++-- keduca/keduca/main.cpp | 4 ++-- keduca/keducabuilder/main.cpp | 4 ++-- khangman/khangman/main.cpp | 4 ++-- kig/kig/main.cpp | 4 ++-- kiten/main.cpp | 4 ++-- klatin/klatin/main.cpp | 4 ++-- klettres/klettres/main.cpp | 4 ++-- kmplot/kmplot/main.cpp | 4 ++-- kpercentage/kpercentage/main.cpp | 4 ++-- kstars/kstars/main.cpp | 4 ++-- ktouch/src/main.cpp | 4 ++-- kturtle/src/main.cpp | 4 ++-- kverbos/kverbos/main.cpp | 4 ++-- kvoctrain/kvoctrain/main.cpp | 4 ++-- kwordquiz/src/main.cpp | 2 +- libtdeedu/extdate/main.cpp | 4 ++-- 17 files changed, 33 insertions(+), 33 deletions(-) diff --git a/kalzium/src/main.cpp b/kalzium/src/main.cpp index 23299c46..27be1880 100644 --- a/kalzium/src/main.cpp +++ b/kalzium/src/main.cpp @@ -31,10 +31,10 @@ static const char description[] = static const char version[] = APP_VERSION; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { // { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; #ifdef HAVE_FACILE diff --git a/keduca/keduca/main.cpp b/keduca/keduca/main.cpp index 717529d0..09a02531 100644 --- a/keduca/keduca/main.cpp +++ b/keduca/keduca/main.cpp @@ -25,10 +25,10 @@ static const char description[] = I18N_NOOP("Form-based tests and exams"); static const char version[] = "1.3"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+file", I18N_NOOP("File to load"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) diff --git a/keduca/keducabuilder/main.cpp b/keduca/keducabuilder/main.cpp index 21f459f1..e9d74a66 100644 --- a/keduca/keducabuilder/main.cpp +++ b/keduca/keducabuilder/main.cpp @@ -26,10 +26,10 @@ static const char description[] = I18N_NOOP("Form-based tests and exams builder"); static const char version[] = "1.2.0"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+file", I18N_NOOP("File to load"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) diff --git a/khangman/khangman/main.cpp b/khangman/khangman/main.cpp index e81d3e8e..ac4733f0 100644 --- a/khangman/khangman/main.cpp +++ b/khangman/khangman/main.cpp @@ -33,10 +33,10 @@ static const char description[] = static const char version[] = "0.1"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { // { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char **argv) diff --git a/kig/kig/main.cpp b/kig/kig/main.cpp index a49f1f3f..a99ff122 100644 --- a/kig/kig/main.cpp +++ b/kig/kig/main.cpp @@ -29,14 +29,14 @@ #include "aboutdata.h" -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "c", 0, 0 }, { "convert-to-native", I18N_NOOP( "Do not show a GUI. Convert the specified file to the native Kig format. Output goes to stdout unless --outfile is specified." ), 0 }, { "o", 0, 0 }, { "outfile ", I18N_NOOP( "File to output the created native file to. '-' means output to stdout. Default is stdout as well." ), 0 }, { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; class KigApplication diff --git a/kiten/main.cpp b/kiten/main.cpp index 25f8e54c..abda8624 100644 --- a/kiten/main.cpp +++ b/kiten/main.cpp @@ -31,9 +31,9 @@ void noMessageOutput(TQtMsgType, const char *) { } -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { - KCmdLineLastOption + TDECmdLineLastOption // INSERT YOUR COMMANDLINE OPTIONS HERE }; diff --git a/klatin/klatin/main.cpp b/klatin/klatin/main.cpp index 34fa84dc..08d7d9f2 100644 --- a/klatin/klatin/main.cpp +++ b/klatin/klatin/main.cpp @@ -24,9 +24,9 @@ static const char description[] = // INSERT A DESCRIPTION FOR YOUR APPLICATION HERE -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) diff --git a/klettres/klettres/main.cpp b/klettres/klettres/main.cpp index 832f5476..9be82e0b 100644 --- a/klettres/klettres/main.cpp +++ b/klettres/klettres/main.cpp @@ -37,10 +37,10 @@ static const char description[] = static const char version[] = "1.5.1"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { // { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char **argv) diff --git a/kmplot/kmplot/main.cpp b/kmplot/kmplot/main.cpp index 25549a79..1e0577a6 100644 --- a/kmplot/kmplot/main.cpp +++ b/kmplot/kmplot/main.cpp @@ -42,10 +42,10 @@ static const char description[] = I18N_NOOP( "Mathematical function plotter for TDE" ); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[URL]", I18N_NOOP( "File to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption // INSERT YOUR COMMANDLINE OPTIONS HERE }; diff --git a/kpercentage/kpercentage/main.cpp b/kpercentage/kpercentage/main.cpp index 7e7f7560..0d60eb2c 100644 --- a/kpercentage/kpercentage/main.cpp +++ b/kpercentage/kpercentage/main.cpp @@ -29,9 +29,9 @@ static const char description[] = I18N_NOOP( "A program to improve your skills in calculating with percentages" ); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { - KCmdLineLastOption + TDECmdLineLastOption }; int main( int argc, char *argv[] ) diff --git a/kstars/kstars/main.cpp b/kstars/kstars/main.cpp index 5cd48a62..8c6dcc34 100644 --- a/kstars/kstars/main.cpp +++ b/kstars/kstars/main.cpp @@ -37,7 +37,7 @@ static const char notice[] = I18N_NOOP("Some images in KStars are for non-commercial use only. See README.images."); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "!dump", I18N_NOOP( "Dump sky image to file" ), 0 }, { "script ", I18N_NOOP( "Script to execute" ), 0 }, @@ -46,7 +46,7 @@ static KCmdLineOptions options[] = { "filename ", I18N_NOOP( "Filename for sky image" ), "kstars.png" }, { "date ", I18N_NOOP( "Date and time" ), "" }, { "!paused", I18N_NOOP( "Start with clock paused" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) diff --git a/ktouch/src/main.cpp b/ktouch/src/main.cpp index 3f43d290..7f8fbcf1 100644 --- a/ktouch/src/main.cpp +++ b/ktouch/src/main.cpp @@ -21,9 +21,9 @@ static const char description[] = static const char version[] = "1.5.3"; -static KCmdLineOptions options[] = { +static TDECmdLineOptions options[] = { { "+[URL]", I18N_NOOP( "Training file to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char **argv) diff --git a/kturtle/src/main.cpp b/kturtle/src/main.cpp index 5f7d9eb3..581cb701 100644 --- a/kturtle/src/main.cpp +++ b/kturtle/src/main.cpp @@ -32,14 +32,14 @@ static const char copyright[] = I18N_NOOP("(C) 2003 The KTurtle Authors"); static const char website[] = "http://edu.kde.org/kturtle"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { /// @todo so some about the command line arguments... Something like: // { "e ", I18N_NOOP( "sets the folder with the examples to " ), 0 } // { "t ", I18N_NOOP( "sets the xml file containing the translatiosns of the Logo commands" ), 0 } // { "h ", I18N_NOOP( "sets the xml file containing the highlightstyle" ), 0 } // { "+[URL]", I18N_NOOP( "A Logo file to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; diff --git a/kverbos/kverbos/main.cpp b/kverbos/kverbos/main.cpp index dc05e985..bc0033f5 100644 --- a/kverbos/kverbos/main.cpp +++ b/kverbos/kverbos/main.cpp @@ -23,10 +23,10 @@ static const char description[] = I18N_NOOP("KVerbos"); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[File]", I18N_NOOP("File to open"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption // INSERT YOUR COMMANDLINE OPTIONS HERE }; diff --git a/kvoctrain/kvoctrain/main.cpp b/kvoctrain/kvoctrain/main.cpp index 1e849ccd..8cd24b51 100644 --- a/kvoctrain/kvoctrain/main.cpp +++ b/kvoctrain/kvoctrain/main.cpp @@ -31,10 +31,10 @@ int main(int argc, char* argv[]) { -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { I18N_NOOP("+[file]"), I18N_NOOP("Document file to open"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; static const char description[] = I18N_NOOP("Vocabulary Trainer"); diff --git a/kwordquiz/src/main.cpp b/kwordquiz/src/main.cpp index bbfc2f1b..de9d7a9a 100644 --- a/kwordquiz/src/main.cpp +++ b/kwordquiz/src/main.cpp @@ -23,7 +23,7 @@ static const char *description = I18N_NOOP("A powerful flashcard and vocabulary learning program"); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "m", 0, 0 }, { "mode ", I18N_NOOP("A number 1-5 corresponding to the \nentries in the Mode menu"), 0 }, diff --git a/libtdeedu/extdate/main.cpp b/libtdeedu/extdate/main.cpp index ac7e0166..7bf65058 100644 --- a/libtdeedu/extdate/main.cpp +++ b/libtdeedu/extdate/main.cpp @@ -6,9 +6,9 @@ static const char description[] = I18N_NOOP("ExtDatePicker test program"); static const char notice[] = I18N_NOOP("Compares KDatePicker and ExtDatePicker"); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { - KCmdLineLastOption + TDECmdLineLastOption }; int main( int argc, char *argv[] )