summaryrefslogtreecommitdiffstats
path: root/kode/kodemain.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:47:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:47:16 -0600
commit02fa17d6dd9d871f40038cd9ac615e9e1154724b (patch)
treeaf4cf59b73c929b15d4d147921dec9fd41727608 /kode/kodemain.cpp
parent28bf0c14b571dd696a51e62aa4b18c06d20816af (diff)
downloadtdepim-02fa17d6dd9d871f40038cd9ac615e9e1154724b.tar.gz
tdepim-02fa17d6dd9d871f40038cd9ac615e9e1154724b.zip
Rename KCmd to avoid conflicts with KDE4
Diffstat (limited to 'kode/kodemain.cpp')
-rw-r--r--kode/kodemain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp
index bf3fbb5e..bfab6aa8 100644
--- a/kode/kodemain.cpp
+++ b/kode/kodemain.cpp
@@ -46,7 +46,7 @@
#include <iostream>
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{ "c", 0, 0 },
{ "create-class", I18N_NOOP("Create class"), 0 },
@@ -70,7 +70,7 @@ static const KCmdLineOptions options[] =
{ "singleton", I18N_NOOP("Create a singleton class"), 0 },
{ "protocol", I18N_NOOP("tdeioslave protocol"), 0 },
{ "+[filename]", I18N_NOOP("Source code file name"), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
void addPropertyFunctions( TQString &out, const TQString &type,
@@ -403,10 +403,10 @@ int create( TDECmdLineArgs *args )
file.addInclude( "kcmdlineargs" );
KODE::Code code;
- code += "static const KCmdLineOptions options[] =";
+ code += "static const TDECmdLineOptions options[] =";
code += "{";
code += " { \"verbose\", \"Verbose output\", 0 },";
- code += " KCmdLineLastOption";
+ code += " TDECmdLineLastOption";
code += "};";
file.addFileCode( code );