diff options
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qcommonstyle.cpp | 4 | ||||
-rw-r--r-- | src/gui/styles/qs60style.cpp | 31 |
2 files changed, 32 insertions, 3 deletions
diff --git a/src/gui/styles/qcommonstyle.cpp b/src/gui/styles/qcommonstyle.cpp index ee9827e..e902d96 100644 --- a/src/gui/styles/qcommonstyle.cpp +++ b/src/gui/styles/qcommonstyle.cpp @@ -127,9 +127,7 @@ QCommonStyle::QCommonStyle(QCommonStylePrivate &dd) { } /*! - \overload - - Destroys the style + Destroys the style. */ QCommonStyle::~QCommonStyle() { } diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 3230c17..bd27c8d 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -886,6 +886,10 @@ QSize QS60StylePrivate::partSize(QS60StyleEnums::SkinParts part, SkinElementFlag \sa QMacStyle, QWindowsStyle, QWindowsXPStyle, QWindowsVistaStyle, QPlastiqueStyle, QCleanlooksStyle, QMotifStyle */ + +/*! + Destroys the style. +*/ QS60Style::~QS60Style() { } @@ -2450,6 +2454,9 @@ QRect QS60Style::subControlRect(ComplexControl control, const QStyleOptionComple return ret; } +/*! + \reimp +*/ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, const QWidget *widget) const { QRect ret; @@ -2610,6 +2617,9 @@ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, con return ret; } +/*! + \reimp + */ void QS60Style::polish(QWidget *widget) { Q_D(const QS60Style); @@ -2645,6 +2655,9 @@ void QS60Style::polish(QWidget *widget) d->setFont(widget); } +/*! + \reimp + */ void QS60Style::unpolish(QWidget *widget) { if (false @@ -2676,6 +2689,9 @@ void QS60Style::unpolish(QWidget *widget) QCommonStyle::unpolish(widget); } +/*! + \reimp + */ void QS60Style::polish(QApplication *application) { Q_D(QS60Style); @@ -2683,6 +2699,9 @@ void QS60Style::polish(QApplication *application) d->setThemePalette(application); } +/*! + \reimp + */ void QS60Style::unpolish(QApplication *application) { Q_UNUSED(application) @@ -2692,18 +2711,27 @@ void QS60Style::unpolish(QApplication *application) QApplicationPrivate::setSystemPalette(d->m_originalPalette); } +/*! + Sets the style property \a name to the \a value. + */ void QS60Style::setStyleProperty(const char *name, const QVariant &value) { Q_D(QS60Style); d->setStyleProperty_specific(name, value); } +/*! + Returns the value of style property \a name. + */ QVariant QS60Style::styleProperty(const char *name) const { Q_D(const QS60Style); return d->styleProperty_specific(name); } +/*! + \reimp + */ bool QS60Style::event(QEvent *e) { #ifdef QT_KEYPAD_NAVIGATION @@ -2738,6 +2766,9 @@ bool QS60Style::event(QEvent *e) return false; } +/*! + \internal + */ QIcon QS60Style::standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget) const { |