diff options
Diffstat (limited to 'tdecore/tests')
-rw-r--r-- | tdecore/tests/kcalendartest.cpp | 2 | ||||
-rw-r--r-- | tdecore/tests/kcmdlineargstest.cpp | 4 | ||||
-rw-r--r-- | tdecore/tests/kmdcodectest.cpp | 4 | ||||
-rw-r--r-- | tdecore/tests/testqtargs.cpp | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/tdecore/tests/kcalendartest.cpp b/tdecore/tests/kcalendartest.cpp index 53ba63615..7856c0430 100644 --- a/tdecore/tests/kcalendartest.cpp +++ b/tdecore/tests/kcalendartest.cpp @@ -20,7 +20,7 @@ void test(TQDate & date); static const char description[] = "KCalendarTest"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "help", I18N_NOOP("Prints this help"), 0 }, { "type hijri|gregorian|jalali|hebrew", I18N_NOOP("Supported calendar types"), 0 }, diff --git a/tdecore/tests/kcmdlineargstest.cpp b/tdecore/tests/kcmdlineargstest.cpp index 940a45153..f05168e1a 100644 --- a/tdecore/tests/kcmdlineargstest.cpp +++ b/tdecore/tests/kcmdlineargstest.cpp @@ -11,13 +11,13 @@ static const char version[] = "v0.0.2 1999 (c) Waldo Bastian"; static const char description[] = I18N_NOP("This is a test program."); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "test", I18N_NOP("do a short test only, note that\n" "this is rather long comment"), 0 }, { "baud <baudrate>", I18N_NOP("set baudrate"), "9600" }, { "+file(s)", I18N_NOP("Files to load"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; #if 1 diff --git a/tdecore/tests/kmdcodectest.cpp b/tdecore/tests/kmdcodectest.cpp index 87af50f00..5cdf4ac3e 100644 --- a/tdecore/tests/kmdcodectest.cpp +++ b/tdecore/tests/kmdcodectest.cpp @@ -316,7 +316,7 @@ int main (int argc, char *argv[]) { const char *version = "1.0"; const char *description = "Unit test for md5, base64 encode/decode and uuencode/decode facilities"; - KCmdLineOptions options[] = + TDECmdLineOptions options[] = { { "c <digest>", "compare <digest> with the calculated digest for a string or file.", 0 }, { "d", "decode the given string or file using base64", 0 }, @@ -331,7 +331,7 @@ int main (int argc, char *argv[]) { "x", "uudecode the given string or file", 0 }, { "z", "run a preset message-digest test", 0 }, { "+command", "[input1, input2,...]", 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; TDECmdLineArgs::init( argc, argv, "kmdcodectest", description, version ); diff --git a/tdecore/tests/testqtargs.cpp b/tdecore/tests/testqtargs.cpp index fd73923f2..a27073468 100644 --- a/tdecore/tests/testqtargs.cpp +++ b/tdecore/tests/testqtargs.cpp @@ -28,7 +28,7 @@ --bg is aliased to --background but If you try it with --background or -background, you get the same thing. - in tdecore/kapplication.cpp, KCmdLineOption qt_options is defined and used + in tdecore/kapplication.cpp, TDECmdLineOption qt_options is defined and used by the static method Kapplication::addCmdLineOptions to add the Qt options but its' entries look like this: @@ -48,10 +48,10 @@ application palette (light and dark shades are\ncalculated)."), 0}, #include <kaboutdata.h> #include <klocale.h> -static const KCmdLineOptions options[] = +static const TDECmdLineOptions options[] = { { "hello ", I18N_NOOP("Says hello"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char *argv[]) |