summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/common/gentext.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/common/gentext.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/common/gentext.xsl')
-rw-r--r--kdoctools/docbook/xsl/common/gentext.xsl28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdoctools/docbook/xsl/common/gentext.xsl b/kdoctools/docbook/xsl/common/gentext.xsl
index 0562f388e..a5197e584 100644
--- a/kdoctools/docbook/xsl/common/gentext.xsl
+++ b/kdoctools/docbook/xsl/common/gentext.xsl
@@ -433,7 +433,7 @@
<xsl:param name="verbose"/>
<xsl:choose>
- <xsl:when test="contains($template, '%')">
+ <xsl:when test="tqcontains($template, '%')">
<xsl:value-of select="substring-before($template, '%')"/>
<xsl:variable name="candidate"
select="substring(substring-after($template, '%'), 1, 1)"/>
@@ -604,13 +604,13 @@
<xsl:variable name="labeltype">
<xsl:choose>
- <xsl:when test="contains($parts, 'labelnumber')">
+ <xsl:when test="tqcontains($parts, 'labelnumber')">
<xsl:text>labelnumber</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'labelname')">
+ <xsl:when test="tqcontains($parts, 'labelname')">
<xsl:text>labelname</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'label')">
+ <xsl:when test="tqcontains($parts, 'label')">
<xsl:text>label</xsl:text>
</xsl:when>
</xsl:choose>
@@ -618,10 +618,10 @@
<xsl:variable name="titletype">
<xsl:choose>
- <xsl:when test="contains($parts, 'quotedtitle')">
+ <xsl:when test="tqcontains($parts, 'quotedtitle')">
<xsl:text>quotedtitle</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'title')">
+ <xsl:when test="tqcontains($parts, 'title')">
<xsl:text>title</xsl:text>
</xsl:when>
</xsl:choose>
@@ -637,19 +637,19 @@
local-name($referrer) != 'olink'">
<!-- suppress page numbers -->
</xsl:when>
- <xsl:when test="contains($parts, 'nopage')">
+ <xsl:when test="tqcontains($parts, 'nopage')">
<xsl:text>nopage</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'pagenumber')">
+ <xsl:when test="tqcontains($parts, 'pagenumber')">
<xsl:text>pagenumber</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'pageabbrev')">
+ <xsl:when test="tqcontains($parts, 'pageabbrev')">
<xsl:text>pageabbrev</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'Page')">
+ <xsl:when test="tqcontains($parts, 'Page')">
<xsl:text>Page</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'page')">
+ <xsl:when test="tqcontains($parts, 'page')">
<xsl:text>page</xsl:text>
</xsl:when>
</xsl:choose>
@@ -662,13 +662,13 @@
local-name($referrer) = 'olink'">
<!-- suppress docname -->
</xsl:when>
- <xsl:when test="contains($parts, 'nodocname')">
+ <xsl:when test="tqcontains($parts, 'nodocname')">
<xsl:text>nodocname</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'docnamelong')">
+ <xsl:when test="tqcontains($parts, 'docnamelong')">
<xsl:text>docnamelong</xsl:text>
</xsl:when>
- <xsl:when test="contains($parts, 'docname')">
+ <xsl:when test="tqcontains($parts, 'docname')">
<xsl:text>docname</xsl:text>
</xsl:when>
</xsl:choose>