summaryrefslogtreecommitdiffstats
path: root/qtjava/designer/juic/java/util.xsl
diff options
context:
space:
mode:
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')"/>