summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style_p.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_p.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_p.h')
-rw-r--r--src/gui/styles/qs60style_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style_p.h b/src/gui/styles/qs60style_p.h
index 0cd2310..680d787 100644
--- a/src/gui/styles/qs60style_p.h
+++ b/src/gui/styles/qs60style_p.h
@@ -455,6 +455,11 @@ public:
SkinElementFlags flags = KDefaultSkinElementFlags);
static QPixmap backgroundTexture();
+#ifdef Q_WS_S60
+ void handleDynamicLayoutVariantSwitch();
+ void handleSkinChange();
+#endif // Q_WS_S60
+
private:
static void drawPart(QS60StyleEnums::SkinParts part, QPainter *painter,
const QRect &rect, SkinElementFlags flags = KDefaultSkinElementFlags);