summaryrefslogtreecommitdiffstats
path: root/qtjava/designer/juic/common/classes.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/designer/juic/common/classes.xsl')
-rw-r--r--qtjava/designer/juic/common/classes.xsl88
1 files changed, 44 insertions, 44 deletions
diff --git a/qtjava/designer/juic/common/classes.xsl b/qtjava/designer/juic/common/classes.xsl
index c6acbfa4..add11239 100644
--- a/qtjava/designer/juic/common/classes.xsl
+++ b/qtjava/designer/juic/common/classes.xsl
@@ -26,44 +26,44 @@
** Qt classes that should be used for a ui tag.
-->
<xsl:template match="action" mode="classes">
- <class>QAction</class>
- <class>QKeySequence</class>
+ <class>TQAction</class>
+ <class>TQKeySequence</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="actiongroup" mode="classes">
- <class>QActionGroup</class>
+ <class>TQActionGroup</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="color" mode="classes">
- <class>QColor</class>
+ <class>TQColor</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="cursor" mode="classes">
- <class>QCursor</class>
+ <class>TQCursor</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="font" mode="classes">
- <class>QFont</class>
+ <class>TQFont</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="grid" mode="classes">
- <class>QGridLayout</class>
+ <class>TQGridLayout</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="hbox" mode="classes">
- <class>QHBoxLayout</class>
+ <class>TQHBoxLayout</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="iconset" mode="classes">
- <class>QIconSet</class>
- <class>QPixmap</class>
+ <class>TQIconSet</class>
+ <class>TQPixmap</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
@@ -75,56 +75,56 @@
</xsl:template>
<xsl:template match="menubar" mode="classes">
- <class>QMenuBar</class>
- <class>QPopupMenu</class>
+ <class>TQMenuBar</class>
+ <class>TQPopupMenu</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="pixmap" mode="classes">
- <class>QPixmap</class>
+ <class>TQPixmap</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="rect" mode="classes">
- <class>QRect</class>
+ <class>TQRect</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="size" mode="classes">
<xsl:if test="not(name(../..) = 'spacer')">
- <class>QSize</class>
+ <class>TQSize</class>
</xsl:if>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="sizepolicy" mode="classes">
- <class>QSizePolicy</class>
+ <class>TQSizePolicy</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="spacer" mode="classes">
- <class>QSpacerItem</class>
- <class>QSizePolicy</class>
+ <class>TQSpacerItem</class>
+ <class>TQSizePolicy</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="toolbar" mode="classes">
- <class>QToolBar</class>
+ <class>TQToolBar</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="vbox" mode="classes">
- <class>QVBoxLayout</class>
+ <class>TQVBoxLayout</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="palette" mode="classes">
- <class>QPalette</class>
+ <class>TQPalette</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="active|disabled|inactive" mode="classes">
- <class>QColorGroup</class>
+ <class>TQColorGroup</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
@@ -138,12 +138,12 @@
<xsl:template match="widget" mode="classes">
<xsl:choose>
- <xsl:when test="@class = 'QLayoutWidget'">
- <class>QWidget</class>
+ <xsl:when test="@class = 'TQLayoutWidget'">
+ <class>TQWidget</class>
</xsl:when>
- <xsl:when test="@class = 'QDataBrowser'">
- <class>QDataBrowser</class>
- <class>QSqlForm</class>
+ <xsl:when test="@class = 'TQDataBrowser'">
+ <class>TQDataBrowser</class>
+ <class>TQSqlForm</class>
</xsl:when>
<xsl:otherwise>
<class><xsl:value-of select="@class"/></class>
@@ -153,23 +153,23 @@
</xsl:template>
<xsl:template match="property[@name = 'accel']" mode="classes">
- <class>QKeySequence</class>
+ <class>TQKeySequence</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="property[@name = 'toolTip']" mode="classes">
- <class>QToolTip</class>
+ <class>TQToolTip</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="property[@name = 'whatsThis']" mode="classes">
- <class>QWhatsThis</class>
+ <class>TQWhatsThis</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
<xsl:template match="property[@name = 'database']" mode="classes">
- <class>QSqlDatabase</class>
- <class>QSqlCursor</class>
+ <class>TQSqlDatabase</class>
+ <class>TQSqlCursor</class>
<xsl:apply-templates mode="classes"/>
</xsl:template>
@@ -184,39 +184,39 @@
** do not recurse and return a simple text value
-->
<xsl:template match="action" mode="toClass">
- <xsl:text>QAction</xsl:text>
+ <xsl:text>TQAction</xsl:text>
</xsl:template>
<xsl:template match="actiongroup" mode="toClass">
- <xsl:text>QActionGroup</xsl:text>
+ <xsl:text>TQActionGroup</xsl:text>
</xsl:template>
<xsl:template match="grid" mode="toClass">
- <xsl:text>QGridLayout</xsl:text>
+ <xsl:text>TQGridLayout</xsl:text>
</xsl:template>
<xsl:template match="hbox" mode="toClass">
- <xsl:text>QHBoxLayout</xsl:text>
+ <xsl:text>TQHBoxLayout</xsl:text>
</xsl:template>
<xsl:template match="iconset" mode="toClass">
- <xsl:text>QIconSet</xsl:text>
+ <xsl:text>TQIconSet</xsl:text>
</xsl:template>
<xsl:template match="menubar" mode="toClass">
- <xsl:text>QMenuBar</xsl:text>
+ <xsl:text>TQMenuBar</xsl:text>
</xsl:template>
<xsl:template match="pixmap" mode="toClass">
- <xsl:text>QPixmap</xsl:text>
+ <xsl:text>TQPixmap</xsl:text>
</xsl:template>
<xsl:template match="spacer" mode="toClass">
- <xsl:text>QSpacerItem</xsl:text>
+ <xsl:text>TQSpacerItem</xsl:text>
</xsl:template>
<xsl:template match="toolbar" mode="toClass">
- <xsl:text>QToolBar</xsl:text>
+ <xsl:text>TQToolBar</xsl:text>
</xsl:template>
<xsl:template match="vbox" mode="toClass">
- <xsl:text>QVBoxLayout</xsl:text>
+ <xsl:text>TQVBoxLayout</xsl:text>
</xsl:template>
<xsl:template match="widget" mode="toClass">
<xsl:choose>
- <xsl:when test="@class = 'QLayoutWidget'">
- <class>QWidget</class>
+ <xsl:when test="@class = 'TQLayoutWidget'">
+ <class>TQWidget</class>
</xsl:when>
<xsl:otherwise>
<class><xsl:value-of select="@class"/></class>