From 024c9c2810a44f1ca9649a903fbb5015fdff42c6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 6 Feb 2013 19:34:24 -0600 Subject: [PATCH] Rename KCmd to avoid conflicts with KDE4 --- kmymoney2/kmymoneytest.cpp | 4 ++-- kmymoney2/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kmymoney2/kmymoneytest.cpp b/kmymoney2/kmymoneytest.cpp index 74cfe1c..c7ca248 100644 --- a/kmymoney2/kmymoneytest.cpp +++ b/kmymoney2/kmymoneytest.cpp @@ -111,11 +111,11 @@ int main(int testargc, char** testargv) int rc = 0; #ifdef HAVE_LIBCPPUNIT - static const KCmdLineOptions options[] = + static const TDECmdLineOptions options[] = { { "+[test_suite]", ("Optionally specify a test suite"), 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() diff --git a/kmymoney2/main.cpp b/kmymoney2/main.cpp index 55ef740..596aed0 100644 --- a/kmymoney2/main.cpp +++ b/kmymoney2/main.cpp @@ -50,7 +50,7 @@ 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."); -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "lang ", I18N_NOOP("language to be used"), 0 }, { "n", I18N_NOOP("don't open last used file"), 0}, @@ -64,7 +64,7 @@ static KCmdLineOptions options[] = // INSERT YOUR COMMANDLINE OPTIONS HERE { "+[File]", I18N_NOOP("file to open"), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; TQTime timer;