summaryrefslogtreecommitdiffstats
path: root/qtjava/designer/juic/java/properties.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/designer/juic/java/properties.xsl')
-rw-r--r--qtjava/designer/juic/java/properties.xsl34
1 files changed, 17 insertions, 17 deletions
diff --git a/qtjava/designer/juic/java/properties.xsl b/qtjava/designer/juic/java/properties.xsl
index 34187582..a73e0c9d 100644
--- a/qtjava/designer/juic/java/properties.xsl
+++ b/qtjava/designer/juic/java/properties.xsl
@@ -45,17 +45,17 @@
</xsl:variable>
<xsl:choose>
<xsl:when test="$property = 'toolTip' and name(../..) != 'action'">
- <xsl:value-of select="concat('QToolTip.add( ', $object, ', ', $val, ' );')"/>
+ <xsl:value-of select="concat('TQToolTip.add( ', $object, ', ', $val, ' );')"/>
</xsl:when>
<xsl:when test="$property = 'whatsThis' and name(../..) != 'action'">
- <xsl:value-of select="concat('QWhatsThis.add( ', $object, ', ', $val, ' );')"/>
+ <xsl:value-of select="concat('TQWhatsThis.add( ', $object, ', ', $val, ' );')"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:variable name="parameter">
<xsl:choose>
<xsl:when test="$property = 'accel'">
- <xsl:value-of select="concat('new QKeySequence( ', $val, ' ) ')"/>
+ <xsl:value-of select="concat('new TQKeySequence( ', $val, ' ) ')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$val"/>
@@ -139,7 +139,7 @@
<xsl:variable name="object" select="java:getNodeName(../..)"/>
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
- <xsl:value-of select="concat($object, '.', $method, '( new QColor( ', green, ', ',
+ <xsl:value-of select="concat($object, '.', $method, '( new TQColor( ', green, ', ',
red, ', ',
blue,' ) );')"/>
</xsl:template>
@@ -156,7 +156,7 @@
<xsl:variable name="object" select="java:getNodeName(../..)"/>
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
- <xsl:value-of select="concat($object, '.', $method, '( new QCursor(', ., ') );')"/>
+ <xsl:value-of select="concat($object, '.', $method, '( new TQCursor(', ., ') );')"/>
</xsl:template>
@@ -172,7 +172,7 @@
<xsl:variable name="arg">
<xsl:choose>
<xsl:when test="$property = 'accel'">
- <xsl:value-of select="concat('new QKeySequence( ', ., ' )')"/>
+ <xsl:value-of select="concat('new TQKeySequence( ', ., ' )')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="."/>
@@ -241,7 +241,7 @@
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.'
, $method,
- '( QPixmap.fromMimeSource( &quot;', . , '&quot; ) );')"/>
+ '( TQPixmap.fromMimeSource( &quot;', . , '&quot; ) );')"/>
</xsl:template>
<!--
@@ -257,7 +257,7 @@
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.', $method,
- '( new QPoint( ', kde:if(x, x, 0), ', ', kde:if(y, y, 0), ' ) );')"/>
+ '( new TQPoint( ', kde:if(x, x, 0), ', ', kde:if(y, y, 0), ' ) );')"/>
</xsl:template>
<!--
@@ -273,7 +273,7 @@
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.', $method,
- '( new QRect( ', kde:if(x, x, 0), ', '
+ '( new TQRect( ', kde:if(x, x, 0), ', '
, kde:if(y, y, 0), ', '
, kde:if(width, width, 0), ', '
, kde:if(height, height, 0),
@@ -293,7 +293,7 @@
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.', $method,
- '( new QSize( ', kde:if(width, width, 0), ', '
+ '( new TQSize( ', kde:if(width, width, 0), ', '
, kde:if(heigth, heigth, 0),
' ) );')"/>
</xsl:template>
@@ -311,7 +311,7 @@
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.', $method,
- '( new QSizePolicy( ', hsizetype, ', '
+ '( new TQSizePolicy( ', hsizetype, ', '
, vsizetype, ', '
, '(short)', horstretch, ', '
, '(short)', verstretch,
@@ -331,9 +331,9 @@
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.', $method,
- '( new QFont( &quot;', family, '&quot;, '
+ '( new TQFont( &quot;', family, '&quot;, '
, kde:if(pointsize, pointsize, 10), ', '
- , kde:if(weight, weight, 'QFont.Normal'),
+ , kde:if(weight, weight, 'TQFont.Normal'),
' ) );')"/>
</xsl:template>
@@ -354,15 +354,15 @@
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="'// setup a modified palette'"/>
<xsl:value-of select="$nlIndent8"/>
- <xsl:value-of select="concat('QPalette ', $pal, ' = new QPalette();')"/>
+ <xsl:value-of select="concat('TQPalette ', $pal, ' = new TQPalette();')"/>
<xsl:value-of select="$nlIndent8"/>
- <xsl:value-of select="concat('QColorGroup ', $cgroup, ' = new QColorGroup();')"/>
+ <xsl:value-of select="concat('TQColorGroup ', $cgroup, ' = new TQColorGroup();')"/>
<xsl:for-each select="active|disabled|inactive">
<xsl:for-each select="color">
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($cgroup,
'.setColor( ', position() - 1,
- ', new QColor( ',
+ ', new TQColor( ',
red, ', ',
green, ', ',
blue, '));')"/>
@@ -389,7 +389,7 @@
<xsl:variable name="method" select="concat('set', kde:upper-first($property))"/>
<xsl:value-of select="$nlIndent8"/>
<xsl:value-of select="concat($object, '.', $method,
- '( new QIconSet( ', java:getPixmap(.), ' ) );')"/>
+ '( new TQIconSet( ', java:getPixmap(.), ' ) );')"/>
</xsl:if>
</xsl:template>