summaryrefslogtreecommitdiffstats
path: root/kode
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
parent28bf0c14b571dd696a51e62aa4b18c06d20816af (diff)
downloadtdepim-02fa17d6dd9d871f40038cd9ac615e9e1154724b.tar.gz
tdepim-02fa17d6dd9d871f40038cd9ac615e9e1154724b.zip
Rename KCmd to avoid conflicts with KDE4
Diffstat (limited to 'kode')
-rw-r--r--kode/kodemain.cpp8
-rw-r--r--kode/kwsdl/kung/main.cpp4
-rw-r--r--kode/kwsdl/main.cpp4
-rw-r--r--kode/kxml_compiler/kxml_compiler.cpp4
4 files changed, 10 insertions, 10 deletions
diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp
index bf3fbb5ef..bfab6aa81 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 );
diff --git a/kode/kwsdl/kung/main.cpp b/kode/kwsdl/kung/main.cpp
index ab8bdcd68..3075fe8ff 100644
--- a/kode/kwsdl/kung/main.cpp
+++ b/kode/kwsdl/kung/main.cpp
@@ -29,10 +29,10 @@
#include "loader.h"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{ "+wsdl", I18N_NOOP( "Location of WSDL file" ), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
int main( int argc, char **argv )
diff --git a/kode/kwsdl/main.cpp b/kode/kwsdl/main.cpp
index 0a6a1beba..b4c7fb98f 100644
--- a/kode/kwsdl/main.cpp
+++ b/kode/kwsdl/main.cpp
@@ -31,14 +31,14 @@
#include <tqfile.h>
#include <tqtimer.h>
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{ "d", 0, 0 },
{ "directory <dir>", I18N_NOOP( "Directory to generate files in" ), "." },
{ "n", 0, 0 },
{ "namespace <namespace>", I18N_NOOP( "Namespace of the created classes" ), "." },
{ "+wsdl", I18N_NOOP( "WSDL file" ), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
int main( int argc, char **argv )
diff --git a/kode/kxml_compiler/kxml_compiler.cpp b/kode/kxml_compiler/kxml_compiler.cpp
index 4f3fe3ed6..e8a379f29 100644
--- a/kode/kxml_compiler/kxml_compiler.cpp
+++ b/kode/kxml_compiler/kxml_compiler.cpp
@@ -44,7 +44,7 @@
#include <iostream>
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{ "d", 0, 0 },
{ "directory <dir>", I18N_NOOP("Directory to generate files in"), "." },
@@ -52,7 +52,7 @@ static const KCmdLineOptions options[] =
{ "external-parser", I18N_NOOP("Generate parser in separate source file"),
0 },
{ "custom-parser", I18N_NOOP("Generate parser customized for schema"), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};
int main( int argc, char **argv )