summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawutil.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-09-15 12:19:43 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-09-15 12:19:43 (GMT)
commitafb6c4935dc6a7be0f9de092003477692559815c (patch)
treebb4311a2bf2a0aa437735147cd465e4a0f9d56f6 /src/gui/painting/qdrawutil.cpp
parentcd5f0f868bc830c6b350e8263fd53597f52e1146 (diff)
downloadQt-afb6c4935dc6a7be0f9de092003477692559815c.zip
Qt-afb6c4935dc6a7be0f9de092003477692559815c.tar.gz
Qt-afb6c4935dc6a7be0f9de092003477692559815c.tar.bz2
Fix ambiguous overload for QTileRules constructor
Also fix the relations in the documentation Reviewed-by: David Boddie
Diffstat (limited to 'src/gui/painting/qdrawutil.cpp')
-rw-r--r--src/gui/painting/qdrawutil.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawutil.cpp b/src/gui/painting/qdrawutil.cpp
index 17cf196..7be8e04 100644
--- a/src/gui/painting/qdrawutil.cpp
+++ b/src/gui/painting/qdrawutil.cpp
@@ -1044,7 +1044,7 @@ void qDrawItem(QPainter *p, Qt::GUIStyle gs,
Holds the rules used to draw a pixmap or image split into nine segments,
similar to \l{http://www.w3.org/TR/css3-background/}{CSS3 border-images}.
- \sa Qt::TileRule, QMargins
+ \sa Qt::TileRule, QMargins, qDrawBorderPixmap
*/
/*! \fn QTileRules::QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule)
@@ -1060,7 +1060,7 @@ void qDrawItem(QPainter *p, Qt::GUIStyle gs,
/*!
\fn void qDrawBorderPixmap(QPainter *painter, const QRect &target, const QMargins &margins, const QPixmap &pixmap)
\since 4.6
- \relates QMargins
+ \relates QPainter
Draws the given \a pixmap into the given \a target rectangle, using the
given \a painter. The pixmap will be split into nine segments and drawn
@@ -1156,6 +1156,8 @@ static inline void qDrawHorizontallyRoundedPixmap(QPainter *painter, const QRect
/*!
\since 4.6
+ \relates QPainter
+
Draws the indicated \a sourceRect rectangle from the given \a pixmap into
the given \a targetRect rectangle, using the given \a painter. The pixmap
will be split into nine segments according to the given \a targetMargins