summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qproxystyle.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-06-24 10:01:53 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-06-24 10:01:53 (GMT)
commit4963cf12ddaf75a669c69b9e1c478ad6a3d0ae90 (patch)
tree65cbc2a26c511834b580d054c1dbfc759d9e5042 /src/gui/styles/qproxystyle.cpp
parent5d8c707abb9e61bd0c02418c9bb4a28bf9f82ef9 (diff)
parent0ba6a795f786dc19486551fed2344f394b144a08 (diff)
downloadQt-4963cf12ddaf75a669c69b9e1c478ad6a3d0ae90.zip
Qt-4963cf12ddaf75a669c69b9e1c478ad6a3d0ae90.tar.gz
Qt-4963cf12ddaf75a669c69b9e1c478ad6a3d0ae90.tar.bz2
Merge branch 'master-stable' of scm.dev.nokia.troll.no:qt/qt into qtwebkit-4.6-staging
Diffstat (limited to 'src/gui/styles/qproxystyle.cpp')
-rw-r--r--src/gui/styles/qproxystyle.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/styles/qproxystyle.cpp b/src/gui/styles/qproxystyle.cpp
index 0e19359..589ca9c 100644
--- a/src/gui/styles/qproxystyle.cpp
+++ b/src/gui/styles/qproxystyle.cpp
@@ -1,7 +1,7 @@
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
-** Contact: Qt Software Information (qt-info@nokia.com)
+** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
@@ -34,7 +34,7 @@
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
-** contact the sales department at qt-sales@nokia.com.
+** contact the sales department at http://www.qtsoftware.com/contact.
** $QT_END_LICENSE$
**
****************************************************************************/
@@ -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 0
+ \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
*/