Rename KCmd to avoid conflicts with KDE4

r14.0.x
Timothy Pearson 11 years ago
parent a0523230c4
commit 024c9c2810

@ -111,11 +111,11 @@ int main(int testargc, char** testargv)
int rc = 0; int rc = 0;
#ifdef HAVE_LIBCPPUNIT #ifdef HAVE_LIBCPPUNIT
static const KCmdLineOptions options[] = static const TDECmdLineOptions options[] =
{ {
{ "+[test_suite]", ("Optionally specify a test suite"), 0 }, { "+[test_suite]", ("Optionally specify a test suite"), 0 },
{ "", ("Optional arguments are for ctest"), 0 }, { "", ("Optional arguments are for ctest"), 0 },
KCmdLineLastOption // End of options. TDECmdLineLastOption // End of options.
}; };
// we seem to need a TDEApplication object to use TDEGlobal::locale() // we seem to need a TDEApplication object to use TDEGlobal::locale()

@ -50,7 +50,7 @@
static const char *description = static const char *description =
I18N_NOOP("\nKMyMoney, the Personal Finance Manager for TDE.\n\nPlease consider contributing to this project with code and/or suggestions."); I18N_NOOP("\nKMyMoney, the Personal Finance Manager for TDE.\n\nPlease consider contributing to this project with code and/or suggestions.");
static KCmdLineOptions options[] = static TDECmdLineOptions options[] =
{ {
{ "lang <lang-code>", I18N_NOOP("language to be used"), 0 }, { "lang <lang-code>", I18N_NOOP("language to be used"), 0 },
{ "n", I18N_NOOP("don't open last used file"), 0}, { "n", I18N_NOOP("don't open last used file"), 0},
@ -64,7 +64,7 @@ static KCmdLineOptions options[] =
// INSERT YOUR COMMANDLINE OPTIONS HERE // INSERT YOUR COMMANDLINE OPTIONS HERE
{ "+[File]", I18N_NOOP("file to open"), 0 }, { "+[File]", I18N_NOOP("file to open"), 0 },
KCmdLineLastOption TDECmdLineLastOption
}; };
TQTime timer; TQTime timer;

Loading…
Cancel
Save