diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-06 19:34:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-06 19:34:24 -0600 |
commit | 024c9c2810a44f1ca9649a903fbb5015fdff42c6 (patch) | |
tree | 10f3d1178917f33a0d1f04b3b28f03190625e82f | |
parent | a0523230c43c0c894e924fca7fe775e47a7d86a8 (diff) | |
download | kmymoney-024c9c2810a44f1ca9649a903fbb5015fdff42c6.tar.gz kmymoney-024c9c2810a44f1ca9649a903fbb5015fdff42c6.zip |
Rename KCmd to avoid conflicts with KDE4
-rw-r--r-- | kmymoney2/kmymoneytest.cpp | 4 | ||||
-rw-r--r-- | 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 <lang-code>", 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; |