diff options
Diffstat (limited to 'kjsembed/bindwizard/doxygen2imp_cpp.xsl')
-rw-r--r-- | kjsembed/bindwizard/doxygen2imp_cpp.xsl | 206 |
1 files changed, 103 insertions, 103 deletions
diff --git a/kjsembed/bindwizard/doxygen2imp_cpp.xsl b/kjsembed/bindwizard/doxygen2imp_cpp.xsl index c65b5650..23729848 100644 --- a/kjsembed/bindwizard/doxygen2imp_cpp.xsl +++ b/kjsembed/bindwizard/doxygen2imp_cpp.xsl @@ -27,7 +27,7 @@ #include <kjsembed/jsbinding.h> #include <<xsl:value-of select="includes" />> -#include "<xsl:value-of select="translate($clazz,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')"/>_imp.h" +#include "<xsl:value-of select="translate($clazz,'ABCDEFGHIJKLMNOPTQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')"/>_imp.h" /** * Namespace containing the KJSEmbed library. @@ -60,7 +60,7 @@ void <xsl:value-of select="$clazz" />Imp::addStaticBindings( KJS::ExecState *exe }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -117,7 +117,7 @@ void <xsl:value-of select="$clazz" />Imp::addBindings( KJS::ExecState *exec, KJS }; int idx = 0; - QCString lastName; + TQCString lastName; while( methods[idx].name ) { if ( lastName != methods[idx].name ) { @@ -136,7 +136,7 @@ void <xsl:value-of select="$clazz" />Imp::addBindings( KJS::ExecState *exec, KJS { JSObjectProxy *ob = JSProxy::toObjectProxy( self.imp() ); if ( ob ) { - QObject *obj = ob->object(); + TQObject *obj = ob->object(); if ( obj ) return dynamic_cast<<xsl:value-of select="$clazz" /> *>( obj ); } @@ -172,7 +172,7 @@ KJS::Object <xsl:value-of select="$clazz" />Imp::construct( KJS::ExecState *exec break; } - QString msg = i18n("<xsl:value-of select="$clazz" />Cons has no constructor with id '%1'").arg(id); + TQString msg = i18n("<xsl:value-of select="$clazz" />Cons has no constructor with id '%1'").arg(id); KJS::Object err = KJS::Error::create( exec, KJS::ReferenceError, msg.utf8() ); exec->setException( err ); return err; @@ -186,7 +186,7 @@ KJS::Object <xsl:value-of select="$clazz" />Imp::construct( KJS::ExecState *exec <xsl:variable name="cons_id">Constructor_<xsl:value-of select="$cons_name" /></xsl:variable> KJS::Object <xsl:value-of select="$clazz" />Imp::<xsl:value-of select="$cons_name" />( KJS::ExecState *exec, const KJS::List &args ) { - <xsl:if test="($clazz = 'QCanvasItem') or ($clazz = 'QCanvasPolygonalItem')"> + <xsl:if test="($clazz = 'TQCanvasItem') or ($clazz = 'TQCanvasPolygonalItem')"> #if 0 // This constructor has been disabled by the XSL template </xsl:if> @@ -195,17 +195,17 @@ KJS::Object <xsl:value-of select="$clazz" />Imp::<xsl:value-of select="$cons_nam <xsl:variable name="idx" select="position()-1" /> <xsl:choose> - <xsl:when test=". = 'QString'"> - QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'TQString'"> + TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QString &'"> - QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQString &'"> + TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'QString &'"> - QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'TQString &'"> + TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QCString &'"> - const QCString arg<xsl:value-of select="$idx" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="$idx" />].toString(exec).ascii() : 0; + <xsl:when test=". = 'const TQCString &'"> + const TQCString arg<xsl:value-of select="$idx" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="$idx" />].toString(exec).ascii() : 0; </xsl:when> <xsl:when test=". = 'const char *'"> const char *arg<xsl:value-of select="$idx" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="$idx" />].toString(exec).ascii() : 0; @@ -222,48 +222,48 @@ KJS::Object <xsl:value-of select="$clazz" />Imp::<xsl:value-of select="$cons_nam <xsl:when test=". = 'bool'"> bool arg<xsl:value-of select="$idx" /> = extractBool(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QFont &'"> - QFont arg<xsl:value-of select="$idx" /> = extractQFont(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQFont &'"> + TQFont arg<xsl:value-of select="$idx" /> = extractTQFont(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QPalette &'"> - QPalette arg<xsl:value-of select="$idx" /> = extractQPalette(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQPalette &'"> + TQPalette arg<xsl:value-of select="$idx" /> = extractTQPalette(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QStringList &'"> - QStringList arg<xsl:value-of select="$idx" /> = extractQStringList(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQStringList &'"> + TQStringList arg<xsl:value-of select="$idx" /> = extractTQStringList(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QStrList &'"> - QStrList arg<xsl:value-of select="$idx" /> = extractQStrList(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQStrList &'"> + TQStrList arg<xsl:value-of select="$idx" /> = extractTQStrList(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QPoint &'"> - QPoint arg<xsl:value-of select="$idx" /> = extractQPoint(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQPoint &'"> + TQPoint arg<xsl:value-of select="$idx" /> = extractTQPoint(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QRect &'"> - QRect arg<xsl:value-of select="$idx" /> = extractQRect(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQRect &'"> + TQRect arg<xsl:value-of select="$idx" /> = extractTQRect(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QSize &'"> - QSize arg<xsl:value-of select="$idx" /> = extractQSize(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQSize &'"> + TQSize arg<xsl:value-of select="$idx" /> = extractTQSize(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QPixmap &'"> - QPixmap arg<xsl:value-of select="$idx" /> = extractQPixmap(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQPixmap &'"> + TQPixmap arg<xsl:value-of select="$idx" /> = extractTQPixmap(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QImage &'"> - QImage arg<xsl:value-of select="$idx" /> = extractQImage(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQImage &'"> + TQImage arg<xsl:value-of select="$idx" /> = extractTQImage(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QColor &'"> - QColor arg<xsl:value-of select="$idx" /> = extractQColor(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQColor &'"> + TQColor arg<xsl:value-of select="$idx" /> = extractTQColor(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QDate &'"> - QDate arg<xsl:value-of select="$idx" /> = extractQDate(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQDate &'"> + TQDate arg<xsl:value-of select="$idx" /> = extractTQDate(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QTime &'"> - QTime arg<xsl:value-of select="$idx" /> = extractQTime(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQTime &'"> + TQTime arg<xsl:value-of select="$idx" /> = extractTQTime(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QDateTime &'"> - QDateTime arg<xsl:value-of select="$idx" /> = extractQDateTime(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQDateTime &'"> + TQDateTime arg<xsl:value-of select="$idx" /> = extractTQDateTime(exec, args, <xsl:value-of select="$idx" />); </xsl:when> <xsl:when test=". = 'WFlags'"> - Qt::WFlags arg<xsl:value-of select="$idx" />; // TODO (hack for QCanvasView) + TQt::WFlags arg<xsl:value-of select="$idx" />; // TODO (hack for TQCanvasView) </xsl:when> <xsl:otherwise> @@ -282,7 +282,7 @@ KJS::Object <xsl:value-of select="$clazz" />Imp::<xsl:value-of select="$cons_nam arg<xsl:value-of select="position()-1" /><xsl:if test="position() != count(../param)">,</xsl:if> </xsl:for-each> ); - <xsl:if test="($clazz = 'QCanvasItem') or ($clazz = 'QCanvasPolygonalItem')"> + <xsl:if test="($clazz = 'TQCanvasItem') or ($clazz = 'TQCanvasPolygonalItem')"> #endif // This constructor has been disabled by the XSL template </xsl:if> } @@ -311,7 +311,7 @@ KJS::Value <xsl:value-of select="$clazz" />Imp::call( KJS::ExecState *exec, KJS: break; } - QString msg = i18n( "<xsl:value-of select="$clazz" />Imp has no method with id '%1'" ).arg( id ); + TQString msg = i18n( "<xsl:value-of select="$clazz" />Imp has no method with id '%1'" ).arg( id ); KJS::Object err = KJS::Error::create( exec, KJS::ReferenceError, msg.utf8() ); exec->setException( err ); return err; @@ -333,17 +333,17 @@ KJS::Value <xsl:value-of select="$method" />( KJS::ExecState *exec, KJS::Object <xsl:variable name="idx" select="position()-1" /> <xsl:choose> - <xsl:when test=". = 'QString'"> - QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'TQString'"> + TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QString &'"> - QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQString &'"> + TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'QString &'"> - QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'TQString &'"> + TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QCString &'"> - const QCString arg<xsl:value-of select="$idx" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="$idx" />].toString(exec).ascii() : 0; + <xsl:when test=". = 'const TQCString &'"> + const TQCString arg<xsl:value-of select="$idx" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="$idx" />].toString(exec).ascii() : 0; </xsl:when> <xsl:when test=". = 'const char *'"> const char *arg<xsl:value-of select="$idx" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="$idx" />].toString(exec).ascii() : 0; @@ -360,92 +360,92 @@ KJS::Value <xsl:value-of select="$method" />( KJS::ExecState *exec, KJS::Object <xsl:when test=". = 'bool'"> bool arg<xsl:value-of select="$idx" /> = extractBool(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QFont &'"> - QFont arg<xsl:value-of select="$idx" /> = extractQFont(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQFont &'"> + TQFont arg<xsl:value-of select="$idx" /> = extractTQFont(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QPalette &'"> - QPalette arg<xsl:value-of select="$idx" /> = extractQPalette(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQPalette &'"> + TQPalette arg<xsl:value-of select="$idx" /> = extractTQPalette(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QStringList &'"> - QStringList arg<xsl:value-of select="$idx" /> = extractQStringList(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQStringList &'"> + TQStringList arg<xsl:value-of select="$idx" /> = extractTQStringList(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QStrList &'"> - QStrList arg<xsl:value-of select="$idx" /> = extractQStrList(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQStrList &'"> + TQStrList arg<xsl:value-of select="$idx" /> = extractTQStrList(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QPoint &'"> - QPoint arg<xsl:value-of select="$idx" /> = extractQPoint(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQPoint &'"> + TQPoint arg<xsl:value-of select="$idx" /> = extractTQPoint(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QRect &'"> - QRect arg<xsl:value-of select="$idx" /> = extractQRect(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQRect &'"> + TQRect arg<xsl:value-of select="$idx" /> = extractTQRect(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QSize &'"> - QSize arg<xsl:value-of select="$idx" /> = extractQSize(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQSize &'"> + TQSize arg<xsl:value-of select="$idx" /> = extractTQSize(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QPixmap &'"> - QPixmap arg<xsl:value-of select="$idx" /> = extractQPixmap(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQPixmap &'"> + TQPixmap arg<xsl:value-of select="$idx" /> = extractTQPixmap(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QImage &'"> - QImage arg<xsl:value-of select="$idx" /> = extractQImage(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQImage &'"> + TQImage arg<xsl:value-of select="$idx" /> = extractTQImage(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QColor &'"> - QColor arg<xsl:value-of select="$idx" /> = extractQColor(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQColor &'"> + TQColor arg<xsl:value-of select="$idx" /> = extractTQColor(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QDate &'"> - QDate arg<xsl:value-of select="$idx" /> = extractQDate(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQDate &'"> + TQDate arg<xsl:value-of select="$idx" /> = extractTQDate(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QTime &'"> - QTime arg<xsl:value-of select="$idx" /> = extractQTime(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQTime &'"> + TQTime arg<xsl:value-of select="$idx" /> = extractTQTime(exec, args, <xsl:value-of select="$idx" />); </xsl:when> - <xsl:when test=". = 'const QDateTime &'"> - QDateTime arg<xsl:value-of select="$idx" /> = extractQDateTime(exec, args, <xsl:value-of select="$idx" />); + <xsl:when test=". = 'const TQDateTime &'"> + TQDateTime arg<xsl:value-of select="$idx" /> = extractTQDateTime(exec, args, <xsl:value-of select="$idx" />); </xsl:when> <!-- Hacks for enum types, this should be handled in a much cleaner way. --> <xsl:when test=". = 'Policy'"> - QComboBox::Policy arg<xsl:value-of select="$idx" />; // TODO (hack for combo box) + TQComboBox::Policy arg<xsl:value-of select="$idx" />; // TODO (hack for combo box) </xsl:when> <xsl:when test=". = 'Shape'"> - QFrame::Shape arg<xsl:value-of select="$idx" />; // TODO (hack for frame) + TQFrame::Shape arg<xsl:value-of select="$idx" />; // TODO (hack for frame) </xsl:when> <xsl:when test=". = 'Shadow'"> - QFrame::Shadow arg<xsl:value-of select="$idx" />; // TODO (hack for frame) + TQFrame::Shadow arg<xsl:value-of select="$idx" />; // TODO (hack for frame) </xsl:when> <xsl:when test=". = 'FILE *'"> FILE *arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) </xsl:when> <xsl:when test=". = 'Offset'"> - QFile::Offset arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) + TQFile::Offset arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) </xsl:when> <xsl:when test=". = 'EncoderFn'"> - QFile::EncoderFn arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) + TQFile::EncoderFn arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) </xsl:when> <xsl:when test=". = 'DecoderFn'"> - QFile::DecoderFn arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) + TQFile::DecoderFn arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) </xsl:when> <xsl:when test=". = 'FrameAnimationType'"> - QCanvasSprite::FrameAnimationType arg<xsl:value-of select="$idx" />; // TODO (hack for QCanvasSprite) + TQCanvasSprite::FrameAnimationType arg<xsl:value-of select="$idx" />; // TODO (hack for TQCanvasSprite) </xsl:when> <xsl:when test=". = 'WFlags'"> - Qt::WFlags arg<xsl:value-of select="$idx" />; // TODO (hack for QCanvasView) + TQt::WFlags arg<xsl:value-of select="$idx" />; // TODO (hack for TQCanvasView) </xsl:when> <!-- Unsupported for now --> - <xsl:when test=". = 'const QByteArray &'"> - QByteArray arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) + <xsl:when test=". = 'const TQByteArray &'"> + TQByteArray arg<xsl:value-of select="$idx" />; // TODO (hack for qfile) </xsl:when> - <xsl:when test=". = 'const QPointArray &'"> - QPointArray arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas) + <xsl:when test=". = 'const TQPointArray &'"> + TQPointArray arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas) </xsl:when> - <xsl:when test=". = 'QPainter &'"> - QPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas) + <xsl:when test=". = 'TQPainter &'"> + TQPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas) </xsl:when> - <xsl:when test=". = 'const QPainter &'"> - QPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas) + <xsl:when test=". = 'const TQPainter &'"> + TQPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas) </xsl:when> - <xsl:when test=". = 'const QWMatrix &'"> - QWMatrix arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvasview) + <xsl:when test=". = 'const TQWMatrix &'"> + TQWMatrix arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvasview) </xsl:when> <xsl:otherwise> @@ -497,8 +497,8 @@ KJS::Value <xsl:value-of select="$method" />( KJS::ExecState *exec, KJS::Object return KJS::Number( ret ); </xsl:when> - <xsl:when test="$rettype = 'QString'"> - QString ret; + <xsl:when test="$rettype = 'TQString'"> + TQString ret; ret = instance-><xsl:value-of select="name" />( <xsl:for-each select="param"> arg<xsl:value-of select="position()-1" /><xsl:if test="position() != count(../param)">,</xsl:if></xsl:for-each> ); return KJS::String( ret ); @@ -513,18 +513,18 @@ KJS::Value <xsl:value-of select="$method" />( KJS::ExecState *exec, KJS::Object <!-- Value returns --> - <xsl:when test="($rettype = 'QRect') or ($rettype = 'QSize') or ($rettype = 'QPoint') - or ($rettype = 'QPixmap') or ($rettype = 'QImage') or ($rettype = 'QBrush') - or ($rettype = 'QPen') or ($rettype = 'QDate') or ($rettype = 'QDateTime') - or ($rettype = 'QTime')"> + <xsl:when test="($rettype = 'TQRect') or ($rettype = 'TQSize') or ($rettype = 'TQPoint') + or ($rettype = 'TQPixmap') or ($rettype = 'TQImage') or ($rettype = 'TQBrush') + or ($rettype = 'TQPen') or ($rettype = 'TQDate') or ($rettype = 'TQDateTime') + or ($rettype = 'TQTime')"> <xsl:value-of select="$rettype"/> ret; ret = instance-><xsl:value-of select="name" />( <xsl:for-each select="param"> arg<xsl:value-of select="position()-1" /><xsl:if test="position() != count(../param)">,</xsl:if></xsl:for-each> ); return convertToValue( exec, ret ); </xsl:when> - <xsl:when test="$rettype = 'QStringList'"> - QStringList ret; + <xsl:when test="$rettype = 'TQStringList'"> + TQStringList ret; ret = instance-><xsl:value-of select="name" />( <xsl:for-each select="param"> arg<xsl:value-of select="position()-1" /><xsl:if test="position() != count(../param)">,</xsl:if></xsl:for-each> ); |