summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style.h
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-08-11 16:48:24 (GMT)
committerAlessandro Portale <aportale@trolltech.com>2009-08-11 16:48:24 (GMT)
commit7bd60b56dee678ae6a013983fcd403d5c00a20d1 (patch)
treeae906e65e811aadb45766745eabac2ff71460290 /src/gui/styles/qs60style.h
parentebb0b4046cab4ea94795e8fb2ceb3242393e1040 (diff)
downloadQt-7bd60b56dee678ae6a013983fcd403d5c00a20d1.zip
Qt-7bd60b56dee678ae6a013983fcd403d5c00a20d1.tar.gz
Qt-7bd60b56dee678ae6a013983fcd403d5c00a20d1.tar.bz2
Cleaned public Api of QS60Style due to review by Volker Hilsheimer.
Moved handleDynamicLayoutVariantSwitch and handleSkinChange from QS60Style to QS60StylePrivate. QApplication (the only one calling those functions) is now a friend, thus has access to the private class.
Diffstat (limited to 'src/gui/styles/qs60style.h')
-rw-r--r--src/gui/styles/qs60style.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/styles/qs60style.h b/src/gui/styles/qs60style.h
index bdd8c8a..7711b19 100644
--- a/src/gui/styles/qs60style.h
+++ b/src/gui/styles/qs60style.h
@@ -89,12 +89,6 @@ public:
bool saveS60ThemeToBlob(const QString &blobFile) const;
#endif // !Q_WS_S60
-#ifdef Q_WS_S60
-public Q_SLOTS:
- void handleDynamicLayoutVariantSwitch();
- void handleSkinChange();
-#endif // Q_WS_S60
-
protected Q_SLOTS:
QIcon standardIconImplementation(
StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const;
@@ -102,6 +96,7 @@ protected Q_SLOTS:
private:
Q_DISABLE_COPY(QS60Style)
friend class QStyleFactory;
+ friend class QApplication;
};
#endif // QT_NO_STYLE_S60