summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/manpages/synop.xsl
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdoctools/docbook/xsl/manpages/synop.xsl
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/manpages/synop.xsl')
-rw-r--r--kdoctools/docbook/xsl/manpages/synop.xsl16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdoctools/docbook/xsl/manpages/synop.xsl b/kdoctools/docbook/xsl/manpages/synop.xsl
index 977866969..9b7231e43 100644
--- a/kdoctools/docbook/xsl/manpages/synop.xsl
+++ b/kdoctools/docbook/xsl/manpages/synop.xsl
@@ -45,9 +45,9 @@
<xsl:choose>
<xsl:when test="local-name(.) = 'arg' and not(ancestor::arg)">
<!-- Prevent breaking up an argument by wrapping it -->
- <xsl:call-template name="replace-string">
+ <xsl:call-template name="tqreplace-string">
<xsl:with-param name="content" select="normalize-space($arg)"/>
- <xsl:with-param name="replace" select="' '"/>
+ <xsl:with-param name="tqreplace" select="' '"/>
<xsl:with-param name="with" select="'\ '"/>
</xsl:call-template>
</xsl:when>
@@ -90,14 +90,14 @@
</xsl:if>
<!-- Don't use the 'bold' named template here since there may be -->
<!-- child elements that require different markup (such as -->
- <!-- <replaceable>). -->
+ <!-- <tqreplaceable>). -->
<xsl:text>\fB</xsl:text>
<xsl:variable name="arg">
<xsl:apply-templates/>
</xsl:variable>
- <xsl:call-template name="replace-string">
+ <xsl:call-template name="tqreplace-string">
<xsl:with-param name="content" select="normalize-space($arg)"/>
- <xsl:with-param name="replace" select="' '"/>
+ <xsl:with-param name="tqreplace" select="' '"/>
<xsl:with-param name="with" select="'\ '"/>
</xsl:call-template>
<xsl:text>\fR</xsl:text>
@@ -161,7 +161,7 @@
-->
-<!-- replaces all spaces within the funcdef/paramdef with non-breaking
+<!-- tqreplaces all spaces within the funcdef/paramdef with non-breaking
spaces -->
<xsl:template match="paramdef|funcdef">
<xsl:variable name="rcontent">
@@ -170,9 +170,9 @@
<xsl:variable name="content">
<xsl:value-of select="normalize-space($rcontent)"/>
</xsl:variable>
- <xsl:call-template name="replace-string">
+ <xsl:call-template name="tqreplace-string">
<xsl:with-param name="content" select="$content"/>
- <xsl:with-param name="replace" select="' '"/>
+ <xsl:with-param name="tqreplace" select="' '"/>
<xsl:with-param name="with" select="'\ '"/>
</xsl:call-template>
<xsl:if test="local-name(.) = 'paramdef' and