summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindwizard/doxygen2imp_cpp.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindwizard/doxygen2imp_cpp.xsl')
-rw-r--r--kjsembed/bindwizard/doxygen2imp_cpp.xsl206
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 &lt;<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&lt;<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 &amp;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 &amp;'">
- QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQString &amp;'">
+ TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'QString &amp;'">
- QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'TQString &amp;'">
+ TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QCString &amp;'">
- 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 &amp;'">
+ 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 &amp;'">
- QFont arg<xsl:value-of select="$idx" /> = extractQFont(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQFont &amp;'">
+ TQFont arg<xsl:value-of select="$idx" /> = extractTQFont(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QPalette &amp;'">
- QPalette arg<xsl:value-of select="$idx" /> = extractQPalette(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQPalette &amp;'">
+ TQPalette arg<xsl:value-of select="$idx" /> = extractTQPalette(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QStringList &amp;'">
- QStringList arg<xsl:value-of select="$idx" /> = extractQStringList(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQStringList &amp;'">
+ TQStringList arg<xsl:value-of select="$idx" /> = extractTQStringList(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QStrList &amp;'">
- QStrList arg<xsl:value-of select="$idx" /> = extractQStrList(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQStrList &amp;'">
+ TQStrList arg<xsl:value-of select="$idx" /> = extractTQStrList(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QPoint &amp;'">
- QPoint arg<xsl:value-of select="$idx" /> = extractQPoint(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQPoint &amp;'">
+ TQPoint arg<xsl:value-of select="$idx" /> = extractTQPoint(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QRect &amp;'">
- QRect arg<xsl:value-of select="$idx" /> = extractQRect(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQRect &amp;'">
+ TQRect arg<xsl:value-of select="$idx" /> = extractTQRect(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QSize &amp;'">
- QSize arg<xsl:value-of select="$idx" /> = extractQSize(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQSize &amp;'">
+ TQSize arg<xsl:value-of select="$idx" /> = extractTQSize(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QPixmap &amp;'">
- QPixmap arg<xsl:value-of select="$idx" /> = extractQPixmap(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQPixmap &amp;'">
+ TQPixmap arg<xsl:value-of select="$idx" /> = extractTQPixmap(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QImage &amp;'">
- QImage arg<xsl:value-of select="$idx" /> = extractQImage(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQImage &amp;'">
+ TQImage arg<xsl:value-of select="$idx" /> = extractTQImage(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QColor &amp;'">
- QColor arg<xsl:value-of select="$idx" /> = extractQColor(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQColor &amp;'">
+ TQColor arg<xsl:value-of select="$idx" /> = extractTQColor(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QDate &amp;'">
- QDate arg<xsl:value-of select="$idx" /> = extractQDate(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQDate &amp;'">
+ TQDate arg<xsl:value-of select="$idx" /> = extractTQDate(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QTime &amp;'">
- QTime arg<xsl:value-of select="$idx" /> = extractQTime(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQTime &amp;'">
+ TQTime arg<xsl:value-of select="$idx" /> = extractTQTime(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QDateTime &amp;'">
- QDateTime arg<xsl:value-of select="$idx" /> = extractQDateTime(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQDateTime &amp;'">
+ 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 &amp;'">
- QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQString &amp;'">
+ TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'QString &amp;'">
- QString arg<xsl:value-of select="$idx" /> = extractQString(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'TQString &amp;'">
+ TQString arg<xsl:value-of select="$idx" /> = extractTQString(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QCString &amp;'">
- 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 &amp;'">
+ 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 &amp;'">
- QFont arg<xsl:value-of select="$idx" /> = extractQFont(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQFont &amp;'">
+ TQFont arg<xsl:value-of select="$idx" /> = extractTQFont(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QPalette &amp;'">
- QPalette arg<xsl:value-of select="$idx" /> = extractQPalette(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQPalette &amp;'">
+ TQPalette arg<xsl:value-of select="$idx" /> = extractTQPalette(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QStringList &amp;'">
- QStringList arg<xsl:value-of select="$idx" /> = extractQStringList(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQStringList &amp;'">
+ TQStringList arg<xsl:value-of select="$idx" /> = extractTQStringList(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QStrList &amp;'">
- QStrList arg<xsl:value-of select="$idx" /> = extractQStrList(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQStrList &amp;'">
+ TQStrList arg<xsl:value-of select="$idx" /> = extractTQStrList(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QPoint &amp;'">
- QPoint arg<xsl:value-of select="$idx" /> = extractQPoint(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQPoint &amp;'">
+ TQPoint arg<xsl:value-of select="$idx" /> = extractTQPoint(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QRect &amp;'">
- QRect arg<xsl:value-of select="$idx" /> = extractQRect(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQRect &amp;'">
+ TQRect arg<xsl:value-of select="$idx" /> = extractTQRect(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QSize &amp;'">
- QSize arg<xsl:value-of select="$idx" /> = extractQSize(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQSize &amp;'">
+ TQSize arg<xsl:value-of select="$idx" /> = extractTQSize(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QPixmap &amp;'">
- QPixmap arg<xsl:value-of select="$idx" /> = extractQPixmap(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQPixmap &amp;'">
+ TQPixmap arg<xsl:value-of select="$idx" /> = extractTQPixmap(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QImage &amp;'">
- QImage arg<xsl:value-of select="$idx" /> = extractQImage(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQImage &amp;'">
+ TQImage arg<xsl:value-of select="$idx" /> = extractTQImage(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QColor &amp;'">
- QColor arg<xsl:value-of select="$idx" /> = extractQColor(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQColor &amp;'">
+ TQColor arg<xsl:value-of select="$idx" /> = extractTQColor(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QDate &amp;'">
- QDate arg<xsl:value-of select="$idx" /> = extractQDate(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQDate &amp;'">
+ TQDate arg<xsl:value-of select="$idx" /> = extractTQDate(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QTime &amp;'">
- QTime arg<xsl:value-of select="$idx" /> = extractQTime(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQTime &amp;'">
+ TQTime arg<xsl:value-of select="$idx" /> = extractTQTime(exec, args, <xsl:value-of select="$idx" />);
</xsl:when>
- <xsl:when test=". = 'const QDateTime &amp;'">
- QDateTime arg<xsl:value-of select="$idx" /> = extractQDateTime(exec, args, <xsl:value-of select="$idx" />);
+ <xsl:when test=". = 'const TQDateTime &amp;'">
+ 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 &amp;'">
- QByteArray arg<xsl:value-of select="$idx" />; // TODO (hack for qfile)
+ <xsl:when test=". = 'const TQByteArray &amp;'">
+ TQByteArray arg<xsl:value-of select="$idx" />; // TODO (hack for qfile)
</xsl:when>
- <xsl:when test=". = 'const QPointArray &amp;'">
- QPointArray arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas)
+ <xsl:when test=". = 'const TQPointArray &amp;'">
+ TQPointArray arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas)
</xsl:when>
- <xsl:when test=". = 'QPainter &amp;'">
- QPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas)
+ <xsl:when test=". = 'TQPainter &amp;'">
+ TQPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas)
</xsl:when>
- <xsl:when test=". = 'const QPainter &amp;'">
- QPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas)
+ <xsl:when test=". = 'const TQPainter &amp;'">
+ TQPainter arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvas)
</xsl:when>
- <xsl:when test=". = 'const QWMatrix &amp;'">
- QWMatrix arg<xsl:value-of select="$idx" />; // TODO (hack for qcanvasview)
+ <xsl:when test=". = 'const TQWMatrix &amp;'">
+ 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> );