summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qt_s60_p.h
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2010-02-03 11:13:50 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2010-02-03 11:13:50 (GMT)
commit5c6b614992095750b1e0ebc943507b8c864d856e (patch)
tree0e2bad50be9b586b0d0909fe57f698fb1a92f640 /src/gui/kernel/qt_s60_p.h
parentf4784025082b84a02e51dcde89bf32ad77cb4ccd (diff)
parent1965885fe96eb50add6c0c9fc85a12497a6052bc (diff)
downloadQt-5c6b614992095750b1e0ebc943507b8c864d856e.zip
Qt-5c6b614992095750b1e0ebc943507b8c864d856e.tar.gz
Qt-5c6b614992095750b1e0ebc943507b8c864d856e.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6
Diffstat (limited to 'src/gui/kernel/qt_s60_p.h')
-rw-r--r--src/gui/kernel/qt_s60_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h
index 1163055..735ca7a 100644
--- a/src/gui/kernel/qt_s60_p.h
+++ b/src/gui/kernel/qt_s60_p.h
@@ -128,6 +128,7 @@ public:
static inline RWindowGroup& windowGroup();
static inline CWsScreenDevice* screenDevice();
static inline CCoeAppUi* appUi();
+ static inline CEikMenuBar* menuBar();
#ifdef Q_WS_S60
static inline CEikStatusPane* statusPane();
static inline CCoeControl* statusPaneSubPane(TInt aPaneId);
@@ -270,6 +271,11 @@ inline CCoeAppUi* QS60Data::appUi()
return CCoeEnv::Static()-> AppUi();
}
+inline CEikMenuBar* QS60Data::menuBar()
+{
+ return CEikonEnv::Static()->AppUiFactory()->MenuBar();
+}
+
#ifdef Q_WS_S60
inline CEikStatusPane* QS60Data::statusPane()
{