summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-09-01 13:41:18 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-09-01 15:30:17 (GMT)
commit950ab0520f0be607aaa1ec7e46dc33ebfde84f03 (patch)
treee9e0a222c86976079bf2417d047c935f05394e14
parent4a7912195beca671c562f5f1f9c60c2fc2585166 (diff)
downloadQt-950ab0520f0be607aaa1ec7e46dc33ebfde84f03.zip
Qt-950ab0520f0be607aaa1ec7e46dc33ebfde84f03.tar.gz
Qt-950ab0520f0be607aaa1ec7e46dc33ebfde84f03.tar.bz2
Doc: Fixed outdated docs in QStyle::styleHint().
Task-number: 256745 Reviewed-by: Trust Me
-rw-r--r--src/gui/styles/qstyle.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/styles/qstyle.cpp b/src/gui/styles/qstyle.cpp
index d61d291..0500bff 100644
--- a/src/gui/styles/qstyle.cpp
+++ b/src/gui/styles/qstyle.cpp
@@ -1897,11 +1897,9 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
Returns an integer representing the specified style \a hint for
the given \a widget described by the provided style \a option.
- Note that currently, the \a returnData and \a widget parameters
- are not used; they are provided for future enhancement. In
- addition, the \a option parameter is used only in case of the
- SH_ComboBox_Popup, SH_ComboBox_LayoutDirection, and
- SH_GroupBox_TextLabelColor style hints.
+ \c returnData is used when the querying widget needs more detailed data than
+ the integer that styleHint() returns. See the QStyleHintReturn class
+ description for details.
*/
/*!