summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_s60.cpp
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/kernel/qapplication_s60.cpp
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/kernel/qapplication_s60.cpp')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index d2183d2..db78349 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1100,7 +1100,7 @@ void QApplication::symbianResourceChange(int type)
s60Style = qobject_cast<QS60Style*>(QApplication::style());
if (s60Style)
- s60Style->handleDynamicLayoutVariantSwitch();
+ s60Style->d_func()->handleDynamicLayoutVariantSwitch();
#endif
}
break;
@@ -1108,7 +1108,7 @@ void QApplication::symbianResourceChange(int type)
#ifndef QT_NO_STYLE_S60
case KAknsMessageSkinChange:
if (QS60Style *s60Style = qobject_cast<QS60Style*>(QApplication::style()))
- s60Style->handleSkinChange();
+ s60Style->d_func()->handleSkinChange();
break;
#endif
#endif // Q_WS_S60