summaryrefslogtreecommitdiffstats
path: root/qtjava/designer/juic/java/put.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/designer/juic/java/put.xsl')
-rw-r--r--qtjava/designer/juic/java/put.xsl20
1 files changed, 10 insertions, 10 deletions
diff --git a/qtjava/designer/juic/java/put.xsl b/qtjava/designer/juic/java/put.xsl
index 472ad8f6..1f2e25a9 100644
--- a/qtjava/designer/juic/java/put.xsl
+++ b/qtjava/designer/juic/java/put.xsl
@@ -186,7 +186,7 @@
<!--
** Put the definition of user defined variables.
- ** Here we define some QPixmap instances for embedded images
+ ** Here we define some TQPixmap instances for embedded images
** @param data opaque data for user purpose
-->
<xsl:template name="putVariables">
@@ -209,7 +209,7 @@
<xsl:text> }; </xsl:text>
-->
<xsl:value-of select="$newline"/>
- <xsl:text> protected QPixmap </xsl:text>
+ <xsl:text> protected TQPixmap </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text> = decodePixmap( </xsl:text>
<xsl:value-of select="data/@length"/>
@@ -302,7 +302,7 @@
* Constructor for class <xsl:value-of select="$mainClass"/>
* @param parent the parent widget of this class
*/
- public <xsl:value-of select="$mainClass"/>(QWidget parent) {
+ public <xsl:value-of select="$mainClass"/>(TQWidget parent) {
this(parent, "<xsl:value-of select="$mainClass"/>"<xsl:value-of select="$modalParam"/>, WType_TopLevel);
}
@@ -311,7 +311,7 @@
* @param parent the patent widget of this class
* @param name the name of the widget
*/
- public <xsl:value-of select="$mainClass"/>(QWidget parent, String name) {
+ public <xsl:value-of select="$mainClass"/>(TQWidget parent, String name) {
this(parent, name<xsl:value-of select="$modalParam"/>, WType_TopLevel);
}
<xsl:if test="$modalArg != ''">
@@ -321,7 +321,7 @@
* @param name the name of the widget
* @param modal modality of the widget
*/
- public <xsl:value-of select="$mainClass"/>(QWidget parent, String name, boolean modal) {
+ public <xsl:value-of select="$mainClass"/>(TQWidget parent, String name, boolean modal) {
this(parent, name, modal, WType_TopLevel);
}
</xsl:if>
@@ -331,9 +331,9 @@
* @param name the name of the widget
* @param flags some "or"ed properties
*/
- public <xsl:value-of select="$mainClass"/>(QWidget parent, String name<xsl:value-of select="$modalArg"/>, int flags) {
+ public <xsl:value-of select="$mainClass"/>(TQWidget parent, String name<xsl:value-of select="$modalArg"/>, int flags) {
super(parent, name<xsl:value-of select="$modalParam"/>, flags);
-<xsl:if test="/UI/widget/@class = 'QMainWindow'">
+<xsl:if test="/UI/widget/@class = 'TQMainWindow'">
statusBar();
</xsl:if>
if (name == null) setName("<xsl:value-of select="$mainClass"/>");
@@ -365,7 +365,7 @@
<!--
** Put the definition of a database
- ** @context widget[@class='QDataTable' or @class='QDataBrowser"]
+ ** @context widget[@class='TQDataTable' or @class='TQDataBrowser"]
** @param data opaque data for user purpose
-->
<xsl:template name="putDatabaseDefinition">
@@ -374,8 +374,8 @@
<xsl:variable name="conn" select="property[@name='database']/stringlist/string[1]"/>
<xsl:variable name="table" select="property[@name='database']/stringlist/string[2]"/>
<xsl:value-of select="$nlIndent8"/>
- <xsl:value-of select="concat('QSqlForm ', $formName, ' = new QSqlForm(this, &quot;', $formName, '&quot;);')"/>
- <xsl:for-each select=".//widget[@class != 'QDataTable' and property[@name='database']]">
+ <xsl:value-of select="concat('TQSqlForm ', $formName, ' = new TQSqlForm(this, &quot;', $formName, '&quot;);')"/>
+ <xsl:for-each select=".//widget[@class != 'TQDataTable' and property[@name='database']]">
<xsl:if test="property[@name='database']/stringlist/string[1]=$conn
and property[@name='database']/stringlist/string[2]=$table">
<xsl:value-of select="$nlIndent8"/>