summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/html/verbatim.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/html/verbatim.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/html/verbatim.xsl')
-rw-r--r--kdoctools/docbook/xsl/html/verbatim.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdoctools/docbook/xsl/html/verbatim.xsl b/kdoctools/docbook/xsl/html/verbatim.xsl
index 537b5cbc9..3ae02124b 100644
--- a/kdoctools/docbook/xsl/html/verbatim.xsl
+++ b/kdoctools/docbook/xsl/html/verbatim.xsl
@@ -62,7 +62,7 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="literallayout">
+<xsl:template match="literaltqlayout">
<xsl:param name="suppress-numbers" select="'0'"/>
<xsl:variable name="rtf">
@@ -252,10 +252,10 @@
select="preceding::screen[@linenumbering='numbered']"/>
</xsl:call-template>
</xsl:when>
- <xsl:when test="self::literallayout">
+ <xsl:when test="self::literaltqlayout">
<xsl:call-template name="lastLineNumber">
<xsl:with-param name="listings"
- select="preceding::literallayout[@linenumbering='numbered']"/>
+ select="preceding::literaltqlayout[@linenumbering='numbered']"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="self::address">
@@ -356,7 +356,7 @@
<xsl:param name="count" select="1"/>
<xsl:choose>
- <xsl:when test="contains($listing, '&#10;')">
+ <xsl:when test="tqcontains($listing, '&#10;')">
<xsl:call-template name="countLines">
<xsl:with-param name="listing" select="substring-after($listing, '&#10;')"/>
<xsl:with-param name="count" select="$count + 1"/>