summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindwizard
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindwizard')
-rw-r--r--kjsembed/bindwizard/Doxyfile.in8
-rw-r--r--kjsembed/bindwizard/binding_wizard.ui32
-rw-r--r--kjsembed/bindwizard/doxygen2imp_cpp.xsl206
3 files changed, 123 insertions, 123 deletions
diff --git a/kjsembed/bindwizard/Doxyfile.in b/kjsembed/bindwizard/Doxyfile.in
index 291c78cd..d9574b64 100644
--- a/kjsembed/bindwizard/Doxyfile.in
+++ b/kjsembed/bindwizard/Doxyfile.in
@@ -171,7 +171,7 @@ SHOW_INCLUDE_FILES = YES
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc
-# comments will behave just like the Qt-style comments (thus requiring an
+# comments will behave just like the Qt-style comments (thus retquiring an
# explict @brief command for a brief description.
JAVADOC_AUTOBRIEF = YES
@@ -265,10 +265,10 @@ SHOW_USED_FILES = YES
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
-# The QUIET tag can be used to turn on/off the messages that are generated
+# The TQUIET tag can be used to turn on/off the messages that are generated
# by doxygen. Possible values are YES and NO. If left blank NO is used.
-QUIET = YES
+TTQUIET = YES
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated by doxygen. Possible values are YES and NO. If left blank
@@ -470,7 +470,7 @@ ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
-# JavaScript and frames is required (for instance Netscape 4.0+
+# JavaScript and frames is retquired (for instance Netscape 4.0+
# or Internet explorer 4.0+).
GENERATE_TREEVIEW = NO
diff --git a/kjsembed/bindwizard/binding_wizard.ui b/kjsembed/bindwizard/binding_wizard.ui
index f6697bd3..9861a3d7 100644
--- a/kjsembed/bindwizard/binding_wizard.ui
+++ b/kjsembed/bindwizard/binding_wizard.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>binding_wizard</class>
-<widget class="QWizard">
+<widget class="TQWizard">
<property name="name">
<cstring>binding_wizard</cstring>
</property>
@@ -23,7 +23,7 @@
<property name="caption">
<string>KJSEmbed Binding Wizard</string>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>WizardPage</cstring>
</property>
@@ -34,7 +34,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -85,7 +85,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</size>
</property>
</spacer>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -93,7 +93,7 @@ files of the C++ classes you want to make available to Javascript are located.</
<string>Header files:</string>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -101,7 +101,7 @@ files of the C++ classes you want to make available to Javascript are located.</
<string>Plugin name:</string>
</property>
</widget>
- <widget class="QLabel" row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -188,7 +188,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>WizardPage</cstring>
</property>
@@ -250,7 +250,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</size>
</property>
</spacer>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>analysing_label</cstring>
</property>
@@ -275,7 +275,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</size>
</property>
</spacer>
- <widget class="QLayoutWidget" row="1" column="1">
+ <widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout1</cstring>
</property>
@@ -296,7 +296,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</sizepolicy>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>analyse_status</cstring>
</property>
@@ -314,7 +314,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>WizardPage</cstring>
</property>
@@ -325,7 +325,7 @@ files of the C++ classes you want to make available to Javascript are located.</
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel6</cstring>
</property>
@@ -393,7 +393,7 @@ files of the C++ classes you want to make available to Javascript are located.</
</spacer>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>WizardPage</cstring>
</property>
@@ -404,7 +404,7 @@ files of the C++ classes you want to make available to Javascript are located.</
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTextEdit" row="0" column="0">
+ <widget class="TQTextEdit" row="0" column="0">
<property name="name">
<cstring>output</cstring>
</property>
@@ -423,14 +423,14 @@ files of the C++ classes you want to make available to Javascript are located.</
</widget>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>WizardPage</cstring>
</property>
<attribute name="title">
<string>Results</string>
</attribute>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
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 &lt;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> );