summaryrefslogtreecommitdiffstats
path: root/qtjava/designer/juic/java/util.xsl
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/designer/juic/java/util.xsl
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'qtjava/designer/juic/java/util.xsl')
-rw-r--r--qtjava/designer/juic/java/util.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/designer/juic/java/util.xsl b/qtjava/designer/juic/java/util.xsl
index 7d3c2191..ad5bba42 100644
--- a/qtjava/designer/juic/java/util.xsl
+++ b/qtjava/designer/juic/java/util.xsl
@@ -34,7 +34,7 @@
<xsl:value-of select="concat(/UI/pixmapfunction,'( ',$image, ' )')"/>
</xsl:when>
<xsl:when test="/UI/pixmapinproject">
- <xsl:value-of select="concat('QPixmap.fromMimeSource( &quot;',
+ <xsl:value-of select="concat('TQPixmap.fromMimeSource( &quot;',
$images,
$image,
'&quot; )')"/>
@@ -83,7 +83,7 @@
<xsl:param name="node" select="."/>
<func:result>
<xsl:choose>
- <xsl:when test="$node = /UI/widget and /UI/widget/@class = 'QMainWindow'">
+ <xsl:when test="$node = /UI/widget and /UI/widget/@class = 'TQMainWindow'">
<xsl:value-of select="'centralWidget()'"/>
</xsl:when>
<xsl:otherwise>
@@ -100,7 +100,7 @@
<xsl:param name="node"/>
<func:result>
<xsl:variable name="s1" select="translate($node, '&amp;*', ' ')"/>
- <xsl:variable name="s2" select="kde:replace($s1, 'QString', 'String')"/>
+ <xsl:variable name="s2" select="kde:replace($s1, 'TQString', 'String')"/>
<xsl:variable name="s3" select="kde:replace($s2, 'const', '')"/>
<xsl:variable name="s4" select="kde:replace($s3, 'virtual', '')"/>
<xsl:variable name="s5" select="kde:replace($s4, 'bool', 'boolean')"/>