summaryrefslogtreecommitdiffstats
path: root/korundum
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:45:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 19:45:01 -0600
commitfb7e279ef21733ca91caad571e63263b1f947f85 (patch)
treecd03e2405d1f6eddd9fd50d4a29faa6d4b990796 /korundum
parent18896070bf8c173783628a31da969042bddd2867 (diff)
downloadtdebindings-fb7e279ef21733ca91caad571e63263b1f947f85.tar.gz
tdebindings-fb7e279ef21733ca91caad571e63263b1f947f85.zip
Rename KCmd to avoid conflicts with KDE4
Diffstat (limited to 'korundum')
-rw-r--r--korundum/rubylib/korundum/kdehandlers.cpp8
-rw-r--r--korundum/rubylib/rbtdeconfig_compiler/rbtdeconfig_compiler.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp
index 7236fc9b..83db54cf 100644
--- a/korundum/rubylib/korundum/kdehandlers.cpp
+++ b/korundum/rubylib/korundum/kdehandlers.cpp
@@ -187,7 +187,7 @@ void marshall_TQCStringList(Marshall *m) {
# define BREAKPOINT { fprintf(stderr, "hit ctrl-c\n"); int b = 0; while (b == 0) { ; } }
#endif
-void marshall_KCmdLineOptions(Marshall *m) {
+void marshall_TDECmdLineOptions(Marshall *m) {
switch(m->action()) {
case Marshall::FromVALUE:
{
@@ -201,8 +201,8 @@ void marshall_KCmdLineOptions(Marshall *m) {
}
// Allocate 'length + 1' entries, to include an all NULLs last entry
- KCmdLineOptions *cmdLineOptions = (KCmdLineOptions *) calloc( RARRAY_LEN(optionslist) + 1,
- sizeof(struct KCmdLineOptions) );
+ TDECmdLineOptions *cmdLineOptions = (TDECmdLineOptions *) calloc( RARRAY_LEN(optionslist) + 1,
+ sizeof(struct TDECmdLineOptions) );
VALUE options;
long i;
@@ -1388,7 +1388,7 @@ void marshall_TQMapTQCStringDCOPRef(Marshall *m) {
TypeHandler KDE_handlers[] = {
{ "QCStringList", marshall_TQCStringList },
- { "KCmdLineOptions*", marshall_KCmdLineOptions },
+ { "TDECmdLineOptions*", marshall_TDECmdLineOptions },
{ "TDEActionPtrList", marshall_TDEActionList },
{ "TQPtrList<TDEAction>", marshall_TDEActionList },
{ "TQPtrList<TDEAction>&", marshall_TDEActionList },
diff --git a/korundum/rubylib/rbtdeconfig_compiler/rbtdeconfig_compiler.cpp b/korundum/rubylib/rbtdeconfig_compiler/rbtdeconfig_compiler.cpp
index 8db55019..ef923e71 100644
--- a/korundum/rubylib/rbtdeconfig_compiler/rbtdeconfig_compiler.cpp
+++ b/korundum/rubylib/rbtdeconfig_compiler/rbtdeconfig_compiler.cpp
@@ -39,13 +39,13 @@
#include <iostream>
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{ "d", 0, 0 },
{ "directory <dir>", I18N_NOOP("Directory to generate files in"), "." },
{ "+file.kcfg", I18N_NOOP("Input kcfg XML file"), 0 },
{ "+file.kcfgc", I18N_NOOP("Code generation options file"), 0 },
- KCmdLineLastOption
+ TDECmdLineLastOption
};