summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_s60.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-02-25 10:51:57 (GMT)
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-02-25 10:51:57 (GMT)
commit0a022996bd138553360562444d8b85a6141ab0ae (patch)
tree664c1239a58c4136940e662ddd5a173a40d0b26d /src/gui/kernel/qwidget_s60.cpp
parent53ab13a1a403ebe7e7c4c59ce9f605bacf3e2b18 (diff)
parent52211876f610cf81c47f32bda6a271d9e9875bff (diff)
downloadQt-0a022996bd138553360562444d8b85a6141ab0ae.zip
Qt-0a022996bd138553360562444d8b85a6141ab0ae.tar.gz
Qt-0a022996bd138553360562444d8b85a6141ab0ae.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-team
Diffstat (limited to 'src/gui/kernel/qwidget_s60.cpp')
-rw-r--r--src/gui/kernel/qwidget_s60.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp
index d8779c8..85164d2 100644
--- a/src/gui/kernel/qwidget_s60.cpp
+++ b/src/gui/kernel/qwidget_s60.cpp
@@ -54,7 +54,6 @@
#ifdef Q_WS_S60
#include <aknappui.h>
-#include <akntoolbar.h>
#include <eikbtgpc.h>
#endif
@@ -64,6 +63,19 @@
// CCoeControl objects until after the CONE event handler has finished running.
Q_DECLARE_METATYPE(WId)
+// Workaround for the fact that S60 SDKs 3.x do not contain the akntoolbar.h
+// header, even though the documentation says that it should be there, and indeed
+// it is present in the library.
+class CAknToolbar : public CAknControl,
+ public MCoeControlObserver,
+ public MCoeControlBackground,
+ public MEikCommandObserver,
+ public MAknFadedComponent
+{
+public:
+ IMPORT_C void SetToolbarVisibility(const TBool visible);
+};
+
QT_BEGIN_NAMESPACE
extern bool qt_nograb();