diff options
Diffstat (limited to 'PerlQt/handlers.cpp')
-rw-r--r-- | PerlQt/handlers.cpp | 258 |
1 files changed, 129 insertions, 129 deletions
diff --git a/PerlQt/handlers.cpp b/PerlQt/handlers.cpp index da0278c..395298f 100644 --- a/PerlQt/handlers.cpp +++ b/PerlQt/handlers.cpp @@ -46,8 +46,8 @@ #endif extern HV* pointer_map; -static QIntDict<Smoke::Index> *dtorcache= 0; -static QIntDict<Smoke::Index> *cctorcache= 0; +static TQIntDict<Smoke::Index> *dtorcache= 0; +static TQIntDict<Smoke::Index> *cctorcache= 0; int smokeperl_free(pTHX_ SV *sv, MAGIC *mg) { smokeperl_object *o = (smokeperl_object*)mg->mg_ptr; @@ -355,7 +355,7 @@ static void marshall_basetype(Marshall *m) { } HV *hv = newHV(); obj = newRV_noinc((SV*)hv); - // TODO: Generic mapping from C++ classname to Qt classname + // TODO: Generic mapping from C++ classname to TQt classname smokeperl_object o; o.smoke = m->smoke(); @@ -445,22 +445,22 @@ void marshall_ucharP(Marshall *m) { case Marshall::FromSV: { SV* sv = m->var(); - QByteArray *s = 0; + TQByteArray *s = 0; MAGIC* mg = 0; bool hasMagic = false; if(SvOK(sv)) { if( SvTYPE(sv) == SVt_PVMG && (mg = mg_find(sv, PERL_MAGIC_tiedscalar)) - && sv_derived_from(mg->mg_obj, "Qt::_internal::QByteArray") ) { - s = (QByteArray*)SvIV((SV*)SvRV(mg->mg_obj)); + && sv_derived_from(mg->mg_obj, "TQt::_internal::TQByteArray") ) { + s = (TQByteArray*)SvIV((SV*)SvRV(mg->mg_obj)); hasMagic = true; } else { STRLEN len; char* tmp = SvPV(sv, len); - s = new QByteArray(len); + s = new TQByteArray(len); Copy((void*)tmp, (void*)s->data(), len, char); if( !m->type().isConst() && !SvREADONLY(sv) ) { SV* rv = newSV(0); - sv_setref_pv(rv, "Qt::_internal::QByteArray", (void*)s); + sv_setref_pv(rv, "TQt::_internal::TQByteArray", (void*)s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); hasMagic = true; } @@ -471,16 +471,16 @@ void marshall_ucharP(Marshall *m) { m->item().s_voidp = 0; break; } - s = new QByteArray(0); + s = new TQByteArray(0); if( !SvREADONLY(sv) ) { SV* rv = newSV(0); sv_setpv_mg(sv, ""); - sv_setref_pv(rv, "Qt::_internal::QByteArray", s); + sv_setref_pv(rv, "TQt::_internal::TQByteArray", s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); hasMagic = true; } } else - s = new QByteArray(0); + s = new TQByteArray(0); } m->item().s_voidp = s->data(); m->next(); @@ -494,30 +494,30 @@ void marshall_ucharP(Marshall *m) { } } -static void marshall_QString(Marshall *m) { +static void marshall_TQString(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { SV* sv = m->var(); - QString *s = 0; + TQString *s = 0; MAGIC* mg = 0; bool hasMagic = false; if(SvOK(sv) || m->type().isStack()) { if( SvTYPE(sv) == SVt_PVMG && (mg = mg_find(sv, PERL_MAGIC_tiedscalar)) - && sv_derived_from(mg->mg_obj, "Qt::_internal::QString") ) { - s = (QString*)SvIV((SV*)SvRV(mg->mg_obj)); + && sv_derived_from(mg->mg_obj, "TQt::_internal::TQString") ) { + s = (TQString*)SvIV((SV*)SvRV(mg->mg_obj)); hasMagic = true; } else { COP *cop = cxstack[cxstack_ix].blk_oldcop; if(SvUTF8(sv)) - s = new QString(QString::fromUtf8(SvPV_nolen(sv))); + s = new TQString(TQString::fromUtf8(SvPV_nolen(sv))); else if(cop->op_private & HINT_LOCALE) - s = new QString(QString::fromLocal8Bit(SvPV_nolen(sv))); + s = new TQString(TQString::fromLocal8Bit(SvPV_nolen(sv))); else - s = new QString(QString::fromLatin1(SvPV_nolen(sv))); + s = new TQString(TQString::fromLatin1(SvPV_nolen(sv))); if( !m->type().isConst() && !m->type().isStack() && !SvREADONLY(sv)) { SV* rv = newSV(0); - sv_setref_pv(rv, "Qt::_internal::QString", (void*)s); + sv_setref_pv(rv, "TQt::_internal::TQString", (void*)s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); hasMagic = true; } @@ -528,16 +528,16 @@ static void marshall_QString(Marshall *m) { m->item().s_voidp = 0; break; } - s = new QString; + s = new TQString; if( !SvREADONLY(sv) ) { SV* rv = newSV(0); sv_setpv_mg(sv, ""); - sv_setref_pv(rv, "Qt::_internal::QString", s); + sv_setref_pv(rv, "TQt::_internal::TQString", s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); hasMagic = true; } } else - s = new QString; + s = new TQString; } m->item().s_voidp = s; m->next(); @@ -547,7 +547,7 @@ static void marshall_QString(Marshall *m) { break; case Marshall::ToSV: { - QString *s = (QString*)m->item().s_voidp; + TQString *s = (TQString*)m->item().s_voidp; if(s) { COP *cop = cxstack[cxstack_ix].blk_oldcop; if(!(cop->op_private & HINT_BYTES)) @@ -572,28 +572,28 @@ static void marshall_QString(Marshall *m) { } } -static void marshall_QByteArray(Marshall *m) { +static void marshall_TQByteArray(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { SV* sv = m->var(); - QByteArray *s = 0; + TQByteArray *s = 0; MAGIC* mg = 0; bool hasMagic = false; if(SvOK(sv) || m->type().isStack()) { if( SvTYPE(sv) == SVt_PVMG && (mg = mg_find(sv, PERL_MAGIC_tiedscalar)) - && sv_derived_from(mg->mg_obj, "Qt::_internal::QByteArray") ) { - s = (QByteArray*)SvIV((SV*)SvRV(mg->mg_obj)); + && sv_derived_from(mg->mg_obj, "TQt::_internal::TQByteArray") ) { + s = (TQByteArray*)SvIV((SV*)SvRV(mg->mg_obj)); hasMagic = true; } else { STRLEN len; char* tmp = SvPV(sv, len); - s = new QByteArray(len); + s = new TQByteArray(len); Copy((void*)tmp, (void*)s->data(), len, char); - if( !m->type().isConst() && !SvREADONLY(sv) ) { // we tie also stack because of the funny QDataStream behaviour + if( !m->type().isConst() && !SvREADONLY(sv) ) { // we tie also stack because of the funny TQDataStream behaviour // fprintf(stderr, "Tying\n"); SV* rv = newSV(0); - sv_setref_pv(rv, "Qt::_internal::QByteArray", (void*)s); + sv_setref_pv(rv, "TQt::_internal::TQByteArray", (void*)s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); hasMagic = true; } @@ -604,16 +604,16 @@ static void marshall_QByteArray(Marshall *m) { m->item().s_voidp = 0; break; } - s = new QByteArray(0); + s = new TQByteArray(0); if( !SvREADONLY(sv) ) { SV* rv = newSV(0); sv_setpv_mg(sv, ""); - sv_setref_pv(rv, "Qt::_internal::QByteArray", s); + sv_setref_pv(rv, "TQt::_internal::TQByteArray", s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); hasMagic = true; } } else - s = new QByteArray(0); + s = new TQByteArray(0); } m->item().s_voidp = s; m->next(); @@ -626,11 +626,11 @@ static void marshall_QByteArray(Marshall *m) { { bool hasMagic = false; SV *sv = m->var(); - QByteArray *s = (QByteArray*)m->item().s_voidp; + TQByteArray *s = (TQByteArray*)m->item().s_voidp; if(s) { if( !m->type().isConst() && !m->type().isStack() && !SvREADONLY(sv)) { SV* rv = newSV(0); - sv_setref_pv(rv, "Qt::_internal::QByteArray", (void*)s); + sv_setref_pv(rv, "TQt::_internal::TQByteArray", (void*)s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); // err, is a previous magic auto-untied here? hasMagic = true; } else @@ -660,13 +660,13 @@ static const char *not_ascii(const char *s, uint &len) return r ? s : 0L; } -static void marshall_QCString(Marshall *m) { +static void marshall_TQCString(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { - QCString *s = 0; + TQCString *s = 0; if(SvOK(m->var()) || m->type().isStack()) - s = new QCString(SvPV_nolen(m->var())); + s = new TQCString(SvPV_nolen(m->var())); m->item().s_voidp = s; m->next(); if(s && m->cleanup()) @@ -675,7 +675,7 @@ static void marshall_QCString(Marshall *m) { break; case Marshall::ToSV: { - QCString *s = (QCString*)m->item().s_voidp; + TQCString *s = (TQCString*)m->item().s_voidp; if(s) { sv_setpv_mg(m->var(), (const char *)*s); const char * p = (const char *)*s; @@ -684,7 +684,7 @@ static void marshall_QCString(Marshall *m) { if(!(cop->op_private & HINT_BYTES) && not_ascii(p,len)) { #if PERL_VERSION == 6 && PERL_SUBVERSION == 0 - QTextCodec* c = QTextCodec::codecForMib(106); // utf8 + TQTextCodec* c = TQTextCodec::codecForMib(106); // utf8 if(c->heuristicContentMatch(p,len) >= 0) #else if(is_utf8_string((U8 *)p,len)) @@ -705,7 +705,7 @@ static void marshall_QCString(Marshall *m) { } } -static void marshall_QCOORD_array(Marshall *m) { +static void marshall_TQCOORD_array(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { @@ -717,7 +717,7 @@ static void marshall_QCOORD_array(Marshall *m) { } AV *av = (AV*)SvRV(sv); int count = av_len(av); - QCOORD *coord = new QCOORD[count + 2]; + TQCOORD *coord = new TQCOORD[count + 2]; for(int i = 0; i <= count; i++) { SV **svp = av_fetch(av, i, 0); coord[i] = svp ? SvIV(*svp) : 0; @@ -862,7 +862,7 @@ static void marshall_charP_array(Marshall *m) { } } -static void marshall_QStringList(Marshall *m) { +static void marshall_TQStringList(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { @@ -874,23 +874,23 @@ static void marshall_QStringList(Marshall *m) { } AV *list = (AV*)SvRV(sv); int count = av_len(list); - QStringList *stringlist = new QStringList; + TQStringList *stringlist = new TQStringList; int i; COP *cop = cxstack[cxstack_ix].blk_oldcop; bool lc = cop->op_private & HINT_LOCALE; for(i = 0; i <= count; i++) { SV **item = av_fetch(list, i, 0); if(!item || !SvOK(*item)) { - stringlist->append(QString()); + stringlist->append(TQString()); continue; } if(SvUTF8(*item)) - stringlist->append(QString::fromUtf8(SvPV_nolen(*item))); + stringlist->append(TQString::fromUtf8(SvPV_nolen(*item))); else if(lc) - stringlist->append(QString::fromLocal8Bit(SvPV_nolen(*item))); + stringlist->append(TQString::fromLocal8Bit(SvPV_nolen(*item))); else - stringlist->append(QString::fromLatin1(SvPV_nolen(*item))); + stringlist->append(TQString::fromLatin1(SvPV_nolen(*item))); } m->item().s_voidp = stringlist; @@ -898,7 +898,7 @@ static void marshall_QStringList(Marshall *m) { if(m->cleanup()) { av_clear(list); - for(QStringList::Iterator it = stringlist->begin(); + for(TQStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it) av_push(list, newSVpv((const char *)*it, 0)); @@ -908,7 +908,7 @@ static void marshall_QStringList(Marshall *m) { break; case Marshall::ToSV: { - QStringList *stringlist = (QStringList*)m->item().s_voidp; + TQStringList *stringlist = (TQStringList*)m->item().s_voidp; if(!stringlist) { sv_setsv_mg(m->var(), &PL_sv_undef); break; @@ -922,7 +922,7 @@ static void marshall_QStringList(Marshall *m) { } COP *cop = cxstack[cxstack_ix].blk_oldcop; if(!(cop->op_private & HINT_BYTES)) - for(QStringList::Iterator it = stringlist->begin(); + for(TQStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it) { SV *sv = newSVpv((const char *)(*it).utf8(), 0); @@ -930,14 +930,14 @@ static void marshall_QStringList(Marshall *m) { av_push(av, sv); } else if(cop->op_private & HINT_LOCALE) - for(QStringList::Iterator it = stringlist->begin(); + for(TQStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it) { SV *sv = newSVpv((const char *)(*it).local8Bit(), 0); av_push(av, sv); } else - for(QStringList::Iterator it = stringlist->begin(); + for(TQStringList::Iterator it = stringlist->begin(); it != stringlist->end(); ++it) { SV *sv = newSVpv((const char *)(*it).latin1(), 0); @@ -953,7 +953,7 @@ static void marshall_QStringList(Marshall *m) { } } -static void marshall_QValueListInt(Marshall *m) { +static void marshall_TQValueListInt(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { @@ -965,7 +965,7 @@ static void marshall_QValueListInt(Marshall *m) { } AV *list = (AV*)SvRV(sv); int count = av_len(list); - QValueList<int> *valuelist = new QValueList<int>; + TQValueList<int> *valuelist = new TQValueList<int>; int i; for(i = 0; i <= count; i++) { SV **item = av_fetch(list, i, 0); @@ -982,7 +982,7 @@ static void marshall_QValueListInt(Marshall *m) { if(m->cleanup()) { av_clear(list); - for(QValueListIterator<int> it = valuelist->begin(); + for(TQValueListIterator<int> it = valuelist->begin(); it != valuelist->end(); ++it) av_push(list, newSViv((int)*it)); @@ -992,7 +992,7 @@ static void marshall_QValueListInt(Marshall *m) { break; case Marshall::ToSV: { - QValueList<int> *valuelist = (QValueList<int>*)m->item().s_voidp; + TQValueList<int> *valuelist = (TQValueList<int>*)m->item().s_voidp; if(!valuelist) { sv_setsv_mg(m->var(), &PL_sv_undef); break; @@ -1005,7 +1005,7 @@ static void marshall_QValueListInt(Marshall *m) { SvREFCNT_dec(rv); } - for(QValueListIterator<int> it = valuelist->begin(); + for(TQValueListIterator<int> it = valuelist->begin(); it != valuelist->end(); ++it) av_push(av, newSViv((int)*it)); @@ -1044,16 +1044,16 @@ void marshall_voidP(Marshall *m) { } } -void marshall_QRgb_array(Marshall *m) { +void marshall_TQRgb_array(Marshall *m) { switch(m->action()) { case Marshall::FromSV: { SV* sv = m->var(); - QRgb* s = 0; + TQRgb* s = 0; MAGIC* mg = 0; if( SvOK(sv) && SvTYPE(sv) == SVt_PVMG && (mg = mg_find(sv, PERL_MAGIC_tiedscalar)) - && sv_derived_from(mg->mg_obj, "Qt::_internal::QRgbStar") ) { - s = (QRgb*)SvIV((SV*)SvRV(mg->mg_obj)); + && sv_derived_from(mg->mg_obj, "TQt::_internal::TQRgbStar") ) { + s = (TQRgb*)SvIV((SV*)SvRV(mg->mg_obj)); } else if(!SvROK(sv) || SvREADONLY(sv) || SvTYPE(SvRV(sv)) != SVt_PVAV || av_len((AV*)SvRV(sv)) < 0) { m->item().s_voidp = 0; @@ -1061,7 +1061,7 @@ void marshall_QRgb_array(Marshall *m) { } else { AV *list = (AV*)SvRV(sv); int count = av_len(list); - s = new QRgb[count + 2]; + s = new TQRgb[count + 2]; int i; for(i = 0; i <= count; i++) { SV **item = av_fetch(list, i, 0); @@ -1073,7 +1073,7 @@ void marshall_QRgb_array(Marshall *m) { } s[i] = 0; SV* rv = newSV(0); - sv_setref_pv(rv, "Qt::_internal::QRgbStar", (void*)s); + sv_setref_pv(rv, "TQt::_internal::TQRgbStar", (void*)s); sv_magic(sv, rv, PERL_MAGIC_tiedscalar, Nullch, 0); } m->item().s_voidp = s; @@ -1123,7 +1123,7 @@ void marshall_QRgb_array(Marshall *m) { -#define MARSHALL_QPTRLIST( FNAME, TMPLNAME, CCLASSNAME, PCLASSNAME, IS_STACK ) \ +#define MARSHALL_TQPTRLIST( FNAME, TMPLNAME, CCLASSNAME, PCLASSNAME, IS_STACK ) \ static void marshall_ ## FNAME (Marshall *m) { \ switch(m->action()) { \ case Marshall::FromSV: \ @@ -1202,20 +1202,20 @@ static void marshall_ ## FNAME (Marshall *m) { } \ } -MARSHALL_QPTRLIST( QPtrListQNetworkOperation, QPtrList<QNetworkOperation>, QNetworkOperation, " Qt::NetworkOperation", FALSE ) -MARSHALL_QPTRLIST( QPtrListQToolBar, QPtrList<QToolBar>, QToolBar, " Qt::ToolBar", FALSE ) -MARSHALL_QPTRLIST( QPtrListQTab, QPtrList<QTab>, QTab, " Qt::Tab", FALSE ) -MARSHALL_QPTRLIST( QPtrListQDockWindow, QPtrList<QDockWindow>, QDockWindow, " Qt::DockWindow", FALSE ) -MARSHALL_QPTRLIST( QWidgetList, QWidgetList, QWidget, " Qt::Widget", FALSE ) -MARSHALL_QPTRLIST( QObjectList, QObjectList, QObject, " Qt::Object", FALSE ) -MARSHALL_QPTRLIST( QFileInfoList, QFileInfoList, QFileInfo, " Qt::FileInfo", FALSE ) +MARSHALL_TQPTRLIST( TQPtrListTQNetworkOperation, TQPtrList<TQNetworkOperation>, TQNetworkOperation, " TQt::NetworkOperation", FALSE ) +MARSHALL_TQPTRLIST( TQPtrListTQToolBar, TQPtrList<TQToolBar>, TQToolBar, " TQt::ToolBar", FALSE ) +MARSHALL_TQPTRLIST( TQPtrListTQTab, TQPtrList<TQTab>, TQTab, " TQt::Tab", FALSE ) +MARSHALL_TQPTRLIST( TQPtrListTQDockWindow, TQPtrList<TQDockWindow>, TQDockWindow, " TQt::DockWindow", FALSE ) +MARSHALL_TQPTRLIST( TQWidgetList, TQWidgetList, TQWidget, " TQt::Widget", FALSE ) +MARSHALL_TQPTRLIST( TQObjectList, TQObjectList, TQObject, " TQt::Object", FALSE ) +MARSHALL_TQPTRLIST( TQFileInfoList, TQFileInfoList, TQFileInfo, " TQt::FileInfo", FALSE ) -void marshall_QCanvasItemList(Marshall *m) { +void marshall_TQCanvasItemList(Marshall *m) { switch(m->action()) { case Marshall::ToSV: { - QCanvasItemList *cilist = (QCanvasItemList*)m->item().s_voidp; + TQCanvasItemList *cilist = (TQCanvasItemList*)m->item().s_voidp; if(!cilist) { sv_setsv_mg(m->var(), &PL_sv_undef); break; @@ -1228,12 +1228,12 @@ void marshall_QCanvasItemList(Marshall *m) { SvREFCNT_dec(rv); } - int ix = m->smoke()->idClass( "QCanvasItem" ); - for(QValueListIterator<QCanvasItem*> it = cilist->begin(); + int ix = m->smoke()->idClass( "TQCanvasItem" ); + for(TQValueListIterator<TQCanvasItem*> it = cilist->begin(); it != cilist->end(); ++it){ - QCanvasItem* t= *it; - GET_PERL_OBJECT( QCanvasItem, " Qt::CanvasItem", FALSE ) + TQCanvasItem* t= *it; + GET_PERL_OBJECT( TQCanvasItem, " TQt::CanvasItem", FALSE ) av_push(av, ret); } if(m->cleanup()) @@ -1248,22 +1248,22 @@ void marshall_QCanvasItemList(Marshall *m) { -TypeHandler Qt_handlers[] = { - { "QString", marshall_QString }, - { "QString&", marshall_QString }, - { "QString*", marshall_QString }, - { "const QString", marshall_QString }, - { "const QString&", marshall_QString }, - { "const QString*", marshall_QString }, - { "QCString", marshall_QCString }, - { "QCString&", marshall_QCString }, - { "QCString*", marshall_QCString }, - { "const QCString", marshall_QCString }, - { "const QCString&", marshall_QCString }, - { "const QCString*", marshall_QCString }, - { "QStringList", marshall_QStringList }, - { "QStringList&", marshall_QStringList }, - { "QStringList*", marshall_QStringList }, +TypeHandler TQt_handlers[] = { + { "TQString", marshall_TQString }, + { "TQString&", marshall_TQString }, + { "TQString*", marshall_TQString }, + { "const TQString", marshall_TQString }, + { "const TQString&", marshall_TQString }, + { "const TQString*", marshall_TQString }, + { "TQCString", marshall_TQCString }, + { "TQCString&", marshall_TQCString }, + { "TQCString*", marshall_TQCString }, + { "const TQCString", marshall_TQCString }, + { "const TQCString&", marshall_TQCString }, + { "const TQCString*", marshall_TQCString }, + { "TQStringList", marshall_TQStringList }, + { "TQStringList&", marshall_TQStringList }, + { "TQStringList*", marshall_TQStringList }, { "int&", marshall_intR }, { "int*", marshall_intR }, { "bool&", marshall_boolR }, @@ -1272,40 +1272,40 @@ TypeHandler Qt_handlers[] = { { "const char*", marshall_charP }, { "char**", marshall_charP_array }, { "uchar*", marshall_ucharP }, - { "QRgb*", marshall_QRgb_array }, - { "QUObject*", marshall_voidP }, - { "const QCOORD*", marshall_QCOORD_array }, + { "TQRgb*", marshall_TQRgb_array }, + { "TQUObject*", marshall_voidP }, + { "const TQCOORD*", marshall_TQCOORD_array }, { "void", marshall_void }, - { "QByteArray", marshall_QByteArray }, - { "QByteArray&", marshall_QByteArray }, - { "QByteArray*", marshall_QByteArray }, - { "QValueList<int>", marshall_QValueListInt }, - { "QValueList<int>*", marshall_QValueListInt }, - { "QValueList<int>&", marshall_QValueListInt }, - { "QCanvasItemList", marshall_QCanvasItemList }, - { "QCanvasItemList*", marshall_QCanvasItemList }, - { "QCanvasItemList&", marshall_QCanvasItemList }, - { "QWidgetList", marshall_QWidgetList }, - { "QWidgetList*", marshall_QWidgetList }, - { "QWidgetList&", marshall_QWidgetList }, - { "QObjectList", marshall_QObjectList }, - { "QObjectList*", marshall_QObjectList }, - { "QObjectList&", marshall_QObjectList }, - { "QFileInfoList", marshall_QFileInfoList }, - { "QFileInfoList*", marshall_QFileInfoList }, - { "QFileInfoList&", marshall_QFileInfoList }, - { "QPtrList<QToolBar>", marshall_QPtrListQToolBar }, - { "QPtrList<QToolBar>*", marshall_QPtrListQToolBar }, - { "QPtrList<QToolBar>&", marshall_QPtrListQToolBar }, - { "QPtrList<QTab>", marshall_QPtrListQTab }, - { "QPtrList<QTab>*", marshall_QPtrListQTab }, - { "QPtrList<QTab>&", marshall_QPtrListQTab }, - { "QPtrList<QDockWindow>", marshall_QPtrListQDockWindow }, - { "QPtrList<QDockWindow>*", marshall_QPtrListQDockWindow }, - { "QPtrList<QDockWindow>&", marshall_QPtrListQDockWindow }, - { "QPtrList<QNetworkOperation>", marshall_QPtrListQNetworkOperation }, - { "QPtrList<QNetworkOperation>*", marshall_QPtrListQNetworkOperation }, - { "QPtrList<QNetworkOperation>&", marshall_QPtrListQNetworkOperation }, + { "TQByteArray", marshall_TQByteArray }, + { "TQByteArray&", marshall_TQByteArray }, + { "TQByteArray*", marshall_TQByteArray }, + { "TQValueList<int>", marshall_TQValueListInt }, + { "TQValueList<int>*", marshall_TQValueListInt }, + { "TQValueList<int>&", marshall_TQValueListInt }, + { "TQCanvasItemList", marshall_TQCanvasItemList }, + { "TQCanvasItemList*", marshall_TQCanvasItemList }, + { "TQCanvasItemList&", marshall_TQCanvasItemList }, + { "TQWidgetList", marshall_TQWidgetList }, + { "TQWidgetList*", marshall_TQWidgetList }, + { "TQWidgetList&", marshall_TQWidgetList }, + { "TQObjectList", marshall_TQObjectList }, + { "TQObjectList*", marshall_TQObjectList }, + { "TQObjectList&", marshall_TQObjectList }, + { "TQFileInfoList", marshall_TQFileInfoList }, + { "TQFileInfoList*", marshall_TQFileInfoList }, + { "TQFileInfoList&", marshall_TQFileInfoList }, + { "TQPtrList<TQToolBar>", marshall_TQPtrListTQToolBar }, + { "TQPtrList<TQToolBar>*", marshall_TQPtrListTQToolBar }, + { "TQPtrList<TQToolBar>&", marshall_TQPtrListTQToolBar }, + { "TQPtrList<TQTab>", marshall_TQPtrListTQTab }, + { "TQPtrList<TQTab>*", marshall_TQPtrListTQTab }, + { "TQPtrList<TQTab>&", marshall_TQPtrListTQTab }, + { "TQPtrList<TQDockWindow>", marshall_TQPtrListTQDockWindow }, + { "TQPtrList<TQDockWindow>*", marshall_TQPtrListTQDockWindow }, + { "TQPtrList<TQDockWindow>&", marshall_TQPtrListTQDockWindow }, + { "TQPtrList<TQNetworkOperation>", marshall_TQPtrListTQNetworkOperation }, + { "TQPtrList<TQNetworkOperation>*", marshall_TQPtrListTQNetworkOperation }, + { "TQPtrList<TQNetworkOperation>&", marshall_TQPtrListTQNetworkOperation }, { 0, 0 } }; @@ -1318,11 +1318,11 @@ void install_handlers(TypeHandler *h) { h++; } if(!dtorcache){ - dtorcache = new QIntDict<Smoke::Index>(113); + dtorcache = new TQIntDict<Smoke::Index>(113); dtorcache->setAutoDelete(1); } if(!cctorcache) { - cctorcache = new QIntDict<Smoke::Index>(113); + cctorcache = new TQIntDict<Smoke::Index>(113); cctorcache->setAutoDelete(1); } } |