diff options
Diffstat (limited to 'src/widgets/styles/qproxystyle.cpp')
-rw-r--r-- | src/widgets/styles/qproxystyle.cpp | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/src/widgets/styles/qproxystyle.cpp b/src/widgets/styles/qproxystyle.cpp index 80124872a6..cb10b1ec59 100644 --- a/src/widgets/styles/qproxystyle.cpp +++ b/src/widgets/styles/qproxystyle.cpp @@ -377,17 +377,10 @@ bool QProxyStyle::event(QEvent *e) 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() */ -QIcon QProxyStyle::standardIconImplementation(StandardPixmap standardIcon, - const QStyleOption *option, - const QWidget *widget) const +QIcon QProxyStyle::standardIcon(StandardPixmap standardIcon, + const QStyleOption *option, + const QWidget *widget) const { Q_D (const QProxyStyle); d->ensureBaseStyle(); @@ -404,13 +397,13 @@ QIcon QProxyStyle::standardIconImplementation(StandardPixmap standardIcon, The default implementation returns -1. - \sa layoutSpacing(), combinedLayoutSpacing() + \sa combinedLayoutSpacing() */ -int QProxyStyle::layoutSpacingImplementation(QSizePolicy::ControlType control1, - QSizePolicy::ControlType control2, - Qt::Orientation orientation, - const QStyleOption *option, - const QWidget *widget) const +int QProxyStyle::layoutSpacing(QSizePolicy::ControlType control1, + QSizePolicy::ControlType control2, + Qt::Orientation orientation, + const QStyleOption *option, + const QWidget *widget) const { Q_D (const QProxyStyle); d->ensureBaseStyle(); |