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/sections.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/sections.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/html/sections.xsl | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kdoctools/docbook/xsl/html/sections.xsl b/kdoctools/docbook/xsl/html/sections.xsl index 5ad567954..a787d5019 100644 --- a/kdoctools/docbook/xsl/html/sections.xsl +++ b/kdoctools/docbook/xsl/html/sections.xsl @@ -22,15 +22,15 @@ <xsl:call-template name="section.titlepage"/> <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> + <xsl:call-template name="tqfind.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="contains($toc.params, 'toc') + <xsl:if test="tqcontains($toc.params, 'toc') and $depth <= $generate.section.toc.level"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -111,15 +111,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> + <xsl:call-template name="tqfind.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="contains($toc.params, 'toc') + <xsl:if test="tqcontains($toc.params, 'toc') and $generate.section.toc.level >= 1"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -155,15 +155,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> + <xsl:call-template name="tqfind.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="contains($toc.params, 'toc') + <xsl:if test="tqcontains($toc.params, 'toc') and $generate.section.toc.level >= 2"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -199,15 +199,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> + <xsl:call-template name="tqfind.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="contains($toc.params, 'toc') + <xsl:if test="tqcontains($toc.params, 'toc') and $generate.section.toc.level >= 3"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -243,15 +243,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> + <xsl:call-template name="tqfind.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="contains($toc.params, 'toc') + <xsl:if test="tqcontains($toc.params, 'toc') and $generate.section.toc.level >= 4"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -287,15 +287,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> + <xsl:call-template name="tqfind.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="contains($toc.params, 'toc') + <xsl:if test="tqcontains($toc.params, 'toc') and $generate.section.toc.level >= 5"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -366,7 +366,7 @@ <xsl:variable name="id"> <xsl:choose> <!-- if title is in an *info wrapper, get the grandparent --> - <xsl:when test="contains(local-name(..), 'info')"> + <xsl:when test="tqcontains(local-name(..), 'info')"> <xsl:call-template name="object.id"> <xsl:with-param name="object" select="../.."/> </xsl:call-template> |