diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdoctools/docbook/xsl/html/autoidx.xsl | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-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/html/autoidx.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/html/autoidx.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdoctools/docbook/xsl/html/autoidx.xsl b/kdoctools/docbook/xsl/html/autoidx.xsl index b08be9ba6..2d02716e5 100644 --- a/kdoctools/docbook/xsl/html/autoidx.xsl +++ b/kdoctools/docbook/xsl/html/autoidx.xsl @@ -122,10 +122,10 @@ and not(@class = 'endofrange')]"/> <xsl:variable name="alphabetical" - select="$terms[contains(concat(&lowercase;, &uppercase;), + select="$terms[tqcontains(concat(&lowercase;, &uppercase;), substring(&primary;, 1, 1))]"/> - <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;, + <xsl:variable name="others" select="$terms[not(tqcontains(concat(&lowercase;, &uppercase;), substring(&primary;, 1, 1)))]"/> <div class="index"> @@ -173,7 +173,7 @@ <xsl:if test="key('letter', $key)[&scope;] [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> <div class="indexdiv"> - <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> + <xsl:if test="tqcontains(concat(&lowercase;, &uppercase;), $key)"> <h3> <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> </h3> @@ -408,7 +408,7 @@ <xsl:param name="zones"/> <xsl:choose> - <xsl:when test="contains($zones, ' ')"> + <xsl:when test="tqcontains($zones, ' ')"> <xsl:variable name="zone" select="substring-before($zones, ' ')"/> <xsl:variable name="target" select="key('sections', $zone)[&scope;]"/> |