summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:23:22 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:23:22 -0600
commit60933ac14a69fb2b361c06761bb0c877f76130f9 (patch)
tree496d37046c08f2faecdd19478fe7bfe4eb00bf38 /korundum/rubylib
parent1c76ebb4b71604470865e073b32a22eec3f8646b (diff)
downloadtdebindings-60933ac14a69fb2b361c06761bb0c877f76130f9.tar.gz
tdebindings-60933ac14a69fb2b361c06761bb0c877f76130f9.zip
Rename TQCStringList
Diffstat (limited to 'korundum/rubylib')
-rw-r--r--korundum/rubylib/korundum/Korundum.cpp10
-rw-r--r--korundum/rubylib/korundum/kdehandlers.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/korundum/rubylib/korundum/Korundum.cpp b/korundum/rubylib/korundum/Korundum.cpp
index effdf522..66731e95 100644
--- a/korundum/rubylib/korundum/Korundum.cpp
+++ b/korundum/rubylib/korundum/Korundum.cpp
@@ -136,8 +136,8 @@ smokeStackToStream(Marshall *m, Smoke::Stack stack, TQDataStream* stream, int it
TQCString temp((const TQCString&) *((TQCString *) stack[i].s_voidp));
*stream << temp;
break;
- } else if (strcmp(t.name(), "TQCStringList") == 0) {
- TQCStringList temp((const TQCStringList&) *((TQCStringList *) stack[i].s_voidp));
+ } else if (strcmp(t.name(), "QCStringList") == 0) {
+ QCStringList temp((const QCStringList&) *((QCStringList *) stack[i].s_voidp));
*stream << temp;
break;
} else if (strcmp(t.name(), "TQStringList") == 0) {
@@ -294,10 +294,10 @@ smokeStackFromStream(Marshall *m, Smoke::Stack stack, TQDataStream* stream, int
*stream >> temp;
stack[i].s_voidp = new TQCString(temp);
break;
- } else if (strcmp(t.name(), "TQCStringList") == 0) {
- TQCStringList temp;
+ } else if (strcmp(t.name(), "QCStringList") == 0) {
+ QCStringList temp;
*stream >> temp;
- stack[i].s_voidp = new TQCStringList(temp);
+ stack[i].s_voidp = new QCStringList(temp);
break;
} else if (strcmp(t.name(), "TQStringList") == 0) {
TQStringList temp;
diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp
index 8951c794..a2ee1862 100644
--- a/korundum/rubylib/korundum/kdehandlers.cpp
+++ b/korundum/rubylib/korundum/kdehandlers.cpp
@@ -123,7 +123,7 @@ void marshall_QCStringList(Marshall *m) {
}
int count = RARRAY(list)->len;
- TQCStringList *stringlist = new TQCStringList;
+ QCStringList *stringlist = new QCStringList;
for(long i = 0; i < count; i++) {
VALUE item = rb_ary_entry(list, i);
@@ -139,7 +139,7 @@ void marshall_QCStringList(Marshall *m) {
if(m->cleanup()) {
rb_ary_clear(list);
- for(TQCStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it)
+ for(QCStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it)
rb_ary_push(list, rb_str_new2(static_cast<const char *>(*it)));
delete stringlist;
}
@@ -147,14 +147,14 @@ void marshall_QCStringList(Marshall *m) {
}
case Marshall::ToVALUE:
{
- TQCStringList *stringlist = static_cast<TQCStringList *>(m->item().s_voidp);
+ QCStringList *stringlist = static_cast<QCStringList *>(m->item().s_voidp);
if(!stringlist) {
*(m->var()) = Qnil;
break;
}
VALUE av = rb_ary_new();
- for(TQCStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it) {
+ for(QCStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it) {
VALUE rv = rb_str_new2(static_cast<const char *>((*it)));
rb_ary_push(av, rv);
}
@@ -1377,7 +1377,7 @@ void marshall_QMapTQCStringDCOPRef(Marshall *m) {
}
TypeHandler KDE_handlers[] = {
- { "TQCStringList", marshall_QCStringList },
+ { "QCStringList", marshall_QCStringList },
{ "KCmdLineOptions*", marshall_KCmdLineOptions },
{ "KActionPtrList", marshall_KActionList },
{ "TQPtrList<KAction>", marshall_KActionList },