From 60933ac14a69fb2b361c06761bb0c877f76130f9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 16:23:22 -0600 Subject: Rename TQCStringList --- korundum/rubylib/korundum/Korundum.cpp | 10 +++++----- korundum/rubylib/korundum/kdehandlers.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'korundum/rubylib') 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(*it))); delete stringlist; } @@ -147,14 +147,14 @@ void marshall_QCStringList(Marshall *m) { } case Marshall::ToVALUE: { - TQCStringList *stringlist = static_cast(m->item().s_voidp); + QCStringList *stringlist = static_cast(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((*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", marshall_KActionList }, -- cgit v1.2.1