diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/designer/juic/java/put.xsl | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/designer/juic/java/put.xsl')
-rw-r--r-- | qtjava/designer/juic/java/put.xsl | 20 |
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, "', $formName, '");')"/> - <xsl:for-each select=".//widget[@class != 'QDataTable' and property[@name='database']]"> + <xsl:value-of select="concat('TQSqlForm ', $formName, ' = new TQSqlForm(this, "', $formName, '");')"/> + <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"/> |