summaryrefslogtreecommitdiff
path: root/src/gui/styles/qproxystyle.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-06-16 10:34:54 +0200
committerMartin Smith <msmith@trolltech.com>2009-06-16 10:36:05 +0200
commit6e8568ff784e093460e4383e32e064a49165c3a8 (patch)
treee0c7888e6ce2ddc2b0fe6840cedddd402aecff8d /src/gui/styles/qproxystyle.cpp
parentea83669b9b44b1fb3a5acae6d53afd1df401e9b5 (diff)
downloadqt4-tools-6e8568ff784e093460e4383e32e064a49165c3a8.tar.gz
doc: Fixed several qdoc errors.
Diffstat (limited to 'src/gui/styles/qproxystyle.cpp')
-rw-r--r--src/gui/styles/qproxystyle.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gui/styles/qproxystyle.cpp b/src/gui/styles/qproxystyle.cpp
index 853dcd1ee5..0e19359414 100644
--- a/src/gui/styles/qproxystyle.cpp
+++ b/src/gui/styles/qproxystyle.cpp
@@ -372,11 +372,14 @@ bool QProxyStyle::event(QEvent *e)
Returns an icon for the given \a standardIcon.
Reimplement this slot to provide your own icons in a QStyle
- subclass; because of binary compatibility constraints, the
- standardIcon() function (introduced in Qt 4.1) is not
- virtual. Instead, standardIcon() will dynamically detect and call \e
- this slot. The default implementation simply calls the
- standardPixmap() function with the given parameters.
+ subclass. The \a option argument can be used to pass extra
+ information required to find the appropriate icon. The \a widget
+ argument is optional and can also be used to help find the icon.
+
+ \note Because of binary compatibility constraints, standardIcon()
+ introduced in Qt 4.1 is not virtual. Therefore it must dynamically
+ detect and call \e this slot. This default implementation simply
+ calls standardIcon() with the given parameters.
\sa standardIcon()
*/