diff options
Diffstat (limited to 'kjsembed/tools/doxygen2cons_cpp.xsl')
-rw-r--r-- | kjsembed/tools/doxygen2cons_cpp.xsl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/tools/doxygen2cons_cpp.xsl b/kjsembed/tools/doxygen2cons_cpp.xsl index e352246f..91bad62b 100644 --- a/kjsembed/tools/doxygen2cons_cpp.xsl +++ b/kjsembed/tools/doxygen2cons_cpp.xsl @@ -35,7 +35,7 @@ KJS::Object <xsl:value-of select="$clazz" />Cons::construct( KJS::ExecState *exe 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; @@ -51,11 +51,11 @@ KJS::Object <xsl:value-of select="$clazz" />Cons::<xsl:value-of select="$cons_na { <xsl:for-each select="param/type"> <xsl:choose> - <xsl:when test=". = 'QString'"> - QString arg<xsl:value-of select="position()-1" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="position()-1" />].toString(exec).qstring() : QString::null; + <xsl:when test=". = 'TQString'"> + TQString arg<xsl:value-of select="position()-1" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="position()-1" />].toString(exec).qstring() : TQString::null; </xsl:when> - <xsl:when test=". = 'const QString &'"> - QString arg<xsl:value-of select="position()-1" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="position()-1" />].toString(exec).qstring() : QString::null; + <xsl:when test=". = 'const TQString &'"> + TQString arg<xsl:value-of select="position()-1" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="position()-1" />].toString(exec).qstring() : TQString::null; </xsl:when> <xsl:when test=". = 'const char *'"> const char *arg<xsl:value-of select="position()-1" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="position()-1" />].toString(exec).ascii() : 0; @@ -72,8 +72,8 @@ KJS::Object <xsl:value-of select="$clazz" />Cons::<xsl:value-of select="$cons_na <xsl:when test=". = 'bool'"> bool arg<xsl:value-of select="position()-1" /> = (args.size() >= <xsl:value-of select="position()" />) ? args[<xsl:value-of select="position()-1" />].toBoolean(exec) : false; </xsl:when> - <xsl:when test=". = 'const QStringList &'"> - QStringList arg<xsl:value-of select="position()-1" />; + <xsl:when test=". = 'const TQStringList &'"> + TQStringList arg<xsl:value-of select="position()-1" />; if ( args.size() >= <xsl:value-of select="position()" /> ) { // TODO: populate the list } |