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/chunk-code.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/chunk-code.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/html/chunk-code.xsl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdoctools/docbook/xsl/html/chunk-code.xsl b/kdoctools/docbook/xsl/html/chunk-code.xsl index 17213fcd5..bc11b4e79 100644 --- a/kdoctools/docbook/xsl/html/chunk-code.xsl +++ b/kdoctools/docbook/xsl/html/chunk-code.xsl @@ -28,7 +28,7 @@ <xsl:choose> <xsl:when test="function-available('exsl:node-set')"> <xsl:message>Computing chunks...</xsl:message> - <xsl:apply-templates select="/*" mode="find.chunks"/> + <xsl:apply-templates select="/*" mode="tqfind.chunks"/> </xsl:when> <xsl:otherwise> <xsl:message> @@ -40,7 +40,7 @@ </xsl:if> </xsl:variable> -<xsl:template match="*" mode="find.chunks"> +<xsl:template match="*" mode="tqfind.chunks"> <xsl:variable name="chunk"> <xsl:call-template name="chunk"/> </xsl:variable> @@ -48,11 +48,11 @@ <xsl:choose> <xsl:when test="$chunk != 0"> <div class="{local-name(.)}" id="{generate-id()}"> - <xsl:apply-templates select="*" mode="find.chunks"/> + <xsl:apply-templates select="*" mode="tqfind.chunks"/> </div> </xsl:when> <xsl:otherwise> - <xsl:apply-templates select="*" mode="find.chunks"/> + <xsl:apply-templates select="*" mode="tqfind.chunks"/> </xsl:otherwise> </xsl:choose> </xsl:template> @@ -572,11 +572,11 @@ <xsl:param name="toc"/> <xsl:variable name="lots"> - <xsl:if test="contains($toc.params, 'toc')"> + <xsl:if test="tqcontains($toc.params, 'toc')"> <xsl:copy-of select="$toc"/> </xsl:if> - <xsl:if test="contains($toc.params, 'figure')"> + <xsl:if test="tqcontains($toc.params, 'figure')"> <xsl:choose> <xsl:when test="$chunk.separate.lots != '0'"> <xsl:call-template name="make.lot.chunk"> @@ -598,7 +598,7 @@ </xsl:choose> </xsl:if> - <xsl:if test="contains($toc.params, 'table')"> + <xsl:if test="tqcontains($toc.params, 'table')"> <xsl:choose> <xsl:when test="$chunk.separate.lots != '0'"> <xsl:call-template name="make.lot.chunk"> @@ -620,7 +620,7 @@ </xsl:choose> </xsl:if> - <xsl:if test="contains($toc.params, 'example')"> + <xsl:if test="tqcontains($toc.params, 'example')"> <xsl:choose> <xsl:when test="$chunk.separate.lots != '0'"> <xsl:call-template name="make.lot.chunk"> @@ -642,7 +642,7 @@ </xsl:choose> </xsl:if> - <xsl:if test="contains($toc.params, 'equation')"> + <xsl:if test="tqcontains($toc.params, 'equation')"> <xsl:choose> <xsl:when test="$chunk.separate.lots != '0'"> <xsl:call-template name="make.lot.chunk"> @@ -664,7 +664,7 @@ </xsl:choose> </xsl:if> - <xsl:if test="contains($toc.params, 'procedure')"> + <xsl:if test="tqcontains($toc.params, 'procedure')"> <xsl:choose> <xsl:when test="$chunk.separate.lots != '0'"> <xsl:call-template name="make.lot.chunk"> @@ -980,7 +980,7 @@ <xsl:template match="@fileref"> <!-- need a check for absolute urls --> <xsl:choose> - <xsl:when test="contains(., ':')"> + <xsl:when test="tqcontains(., ':')"> <!-- it has a uri scheme so it is an absolute uri --> <xsl:value-of select="."/> </xsl:when> |