diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-17 10:57:56 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-17 10:57:56 (GMT) |
commit | 9756f523fd1c31192a87c65449434280a59b49f7 (patch) | |
tree | 9a4c15749c903e00355ac9b519c9791eddd2f877 /src/gui/styles/qproxystyle.cpp | |
parent | 33893addb13f80fe1decef325514853e695fe30c (diff) | |
parent | 3a55f0eab402a72a0f98fdfe5505614fed5d19ed (diff) | |
download | Qt-9756f523fd1c31192a87c65449434280a59b49f7.zip Qt-9756f523fd1c31192a87c65449434280a59b49f7.tar.gz Qt-9756f523fd1c31192a87c65449434280a59b49f7.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Conflicts:
src/gui/graphicsview/qgraphicsscene_p.h
Diffstat (limited to 'src/gui/styles/qproxystyle.cpp')
-rw-r--r-- | src/gui/styles/qproxystyle.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/styles/qproxystyle.cpp b/src/gui/styles/qproxystyle.cpp index 37f25be..7177bed 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 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 */ |