summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-06-17 08:30:30 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-06-17 08:34:35 (GMT)
commitcf521799d71861c067a07d30418cf3b3504fbfe9 (patch)
tree18489169852fe4f37abf94981febe0e141e3fe0a /src/gui/styles
parent99c5b68d4af7b099f201a7b89c86209df9e9349b (diff)
downloadQt-cf521799d71861c067a07d30418cf3b3504fbfe9.zip
Qt-cf521799d71861c067a07d30418cf3b3504fbfe9.tar.gz
Qt-cf521799d71861c067a07d30418cf3b3504fbfe9.tar.bz2
doc: Fixed several qdoc warnings.
All the qdoc errors are fixed in QStringBuilder, but because the class is a template class and uses strange templates, qdoc gets very confused, and the resulting documentation for QStringBuilder is not complete and accurate. To fix this correctly will require changes to the qdoc program.
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qproxystyle.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/styles/qproxystyle.cpp b/src/gui/styles/qproxystyle.cpp
index 54e6831..589ca9c 100644
--- a/src/gui/styles/qproxystyle.cpp
+++ b/src/gui/styles/qproxystyle.cpp
@@ -54,23 +54,23 @@ QT_BEGIN_NAMESPACE
\class QProxyStyle
\brief The QProxyStyle class is a convenience class that simplifies
- the overriding of QStyle elements.
+ dynamically overriding QStyle elements.
\since 4.6
A QProxyStyle wraps a QStyle (usually the default system style) for the
- purpose of overriding the painting or other specific behavior of the
- wrapped style.
+ purpose of dynamically overriding painting or other specific style behavior.
- Below is an example that overrides the shortcut underline
- behavior on all platforms:
+ The following example shows how to override the shortcut underline
+ behavior on any platform:
\snippet doc/src/snippets/code/src_gui_qproxystyle.cpp 1
- Warning: Although Qt's internal styles should respect this hint,
- there is no guarantee that it will work for all styles. It would
- not work on a Mac, for example, because menus are handled by the
- operating system on the Mac.
+ Warning: The \l {QCommonStyle} {common styles} provided by Qt will
+ respect this hint, because they call QStyle::proxy(), but there is
+ no guarantee that QStyle::proxy() will be called for user defined
+ or system controlled styles. It would not work on a Mac, for
+ example, where menus are handled by the operating system.
\sa QStyle
*/