diff options
Diffstat (limited to 'qtjava/designer/juic/common/main.xsl')
-rw-r--r-- | qtjava/designer/juic/common/main.xsl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qtjava/designer/juic/common/main.xsl b/qtjava/designer/juic/common/main.xsl index fd18d274..46f15187 100644 --- a/qtjava/designer/juic/common/main.xsl +++ b/qtjava/designer/juic/common/main.xsl @@ -101,11 +101,11 @@ <class>KCmdLineArgs</class> </xsl:when> <xsl:otherwise> - <class>QApplication</class> + <class>TQApplication</class> </xsl:otherwise> </xsl:choose> </xsl:if> - <class>QWidget</class> + <class>TQWidget</class> <xsl:apply-templates mode="classes"/> </xsl:variable> <xsl:variable name="classes.ns" select="exsl:node-set($classes.tf)"/> @@ -238,7 +238,7 @@ --> <xsl:template name="createDatabaseDefinitions"> <xsl:param name="data"/> - <xsl:for-each select="//widget[@class = 'QDataBrowser']"> + <xsl:for-each select="//widget[@class = 'TQDataBrowser']"> <xsl:call-template name="putDatabaseDefinition"> <xsl:with-param name="data" select="$data"/> </xsl:call-template> @@ -311,8 +311,8 @@ ** @param data opaque data for user purpose --> - <!-- Declare instances of all objects that are not QLayoutWidgets --> - <xsl:template match="property[(@name = 'name') and not(../@class = 'QLayoutWidget')]" mode="declareInstances" priority="1"> + <!-- Declare instances of all objects that are not TQLayoutWidgets --> + <xsl:template match="property[(@name = 'name') and not(../@class = 'TQLayoutWidget')]" mode="declareInstances" priority="1"> <xsl:param name="data"/> <xsl:call-template name="putInstanceVariable"><!-- call user hook --> <xsl:with-param name="class"> @@ -322,10 +322,10 @@ </xsl:call-template> </xsl:template> - <!-- Declare instances of all objects that are QLayoutWidgets not included in a hbox, vbox or grid --> - <xsl:template match="property[(@name = 'name') and (../@class = 'QLayoutWidget') and (count(ancestor::hbox|ancestor::vbox|ancestor::grid)=0)]" mode="declareInstances"> + <!-- Declare instances of all objects that are TQLayoutWidgets not included in a hbox, vbox or grid --> + <xsl:template match="property[(@name = 'name') and (../@class = 'TQLayoutWidget') and (count(ancestor::hbox|ancestor::vbox|ancestor::grid)=0)]" mode="declareInstances"> <xsl:param name="data"/> - <xsl:message>Declare a QLayoutWidget</xsl:message> + <xsl:message>Declare a TQLayoutWidget</xsl:message> <xsl:call-template name="putInstanceVariable"><!-- call user hook --> <xsl:with-param name="class"> <xsl:apply-templates mode="toClass" select=".."/> @@ -338,7 +338,7 @@ <xsl:param name="data"/> <xsl:call-template name="putInstanceVariable"><!-- call user hook --> <xsl:with-param name="class"> - <class>QPopupMenu</class> + <class>TQPopupMenu</class> </xsl:with-param> <xsl:with-param name="name" select="@name"/> <xsl:with-param name="data" select="$data"/> @@ -380,7 +380,7 @@ </xsl:template> <!-- Match subsequent widgets --> - <xsl:template match="widget[@class = 'QLayoutWidget']" mode="defineInstances" priority="1"> + <xsl:template match="widget[@class = 'TQLayoutWidget']" mode="defineInstances" priority="1"> <xsl:param name="data"/> <xsl:if test="count(ancestor::hbox|ancestor::vbox|ancestor::grid)=0"> <xsl:call-template name="putWidgetDefinition"> @@ -392,7 +392,7 @@ </xsl:apply-templates> </xsl:template> <!-- Match subsequent widgets --> - <xsl:template match="widget[not(@class = 'QLayoutWidget')]" mode="defineInstances"> + <xsl:template match="widget[not(@class = 'TQLayoutWidget')]" mode="defineInstances"> <xsl:param name="data"/> <xsl:call-template name="putWidgetDefinition"> <xsl:with-param name="data" select="$data"/> |