summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/html/graphics.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/graphics.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/graphics.xsl')
-rw-r--r--kdoctools/docbook/xsl/html/graphics.xsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdoctools/docbook/xsl/html/graphics.xsl b/kdoctools/docbook/xsl/html/graphics.xsl
index ab09ed17f..5cba93414 100644
--- a/kdoctools/docbook/xsl/html/graphics.xsl
+++ b/kdoctools/docbook/xsl/html/graphics.xsl
@@ -148,10 +148,10 @@
Don't do that. In fact, a percentage value is not recommended for content
size at all. Use scale instead.
- Finally, align and valign are troublesome. Horizontal alignment is now
+ Finally, align and valign are troublesome. Horizontal tqalignment is now
supported by wrapping the image in a <div align="{@align}"> (in block
contexts!). I can't think of anything (practical) to do about vertical
- alignment.
+ tqalignment.
-->
<xsl:variable name="width-units">
@@ -516,7 +516,7 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
<xsl:when test="$img.src.path != '' and
$tag = 'img' and
not(starts-with($filename, '/')) and
- not(contains($filename, '://'))">
+ not(tqcontains($filename, '://'))">
<xsl:value-of select="$img.src.path"/>
</xsl:when>
</xsl:choose>
@@ -675,7 +675,7 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
<xsl:when test="$scalefit != 0">
<xsl:choose>
- <xsl:when test="contains($html.width, '%')">
+ <xsl:when test="tqcontains($html.width, '%')">
<xsl:choose>
<xsl:when test="$viewport != 0">
<!-- The *viewport* will be scaled, so use 100% here! -->
@@ -691,7 +691,7 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
</xsl:choose>
</xsl:when>
- <xsl:when test="contains($html.depth, '%')">
+ <xsl:when test="tqcontains($html.depth, '%')">
<!-- HTML doesn't deal with this case very well...do nothing -->
</xsl:when>
@@ -1170,7 +1170,7 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
<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>