summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-02-14 12:00:58 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-02-14 12:00:58 (GMT)
commitf40bda836b53ac8ce695ef9b3a4f94dc02270105 (patch)
treecf37597df5779ae8a8e806529ab3229b27b821f5 /src
parent8fb224b87b4508d259f8348920caadc6a75c45e2 (diff)
parent984bc6626c4f290572ac721fd10edda99691306f (diff)
downloadQt-f40bda836b53ac8ce695ef9b3a4f94dc02270105.zip
Qt-f40bda836b53ac8ce695ef9b3a4f94dc02270105.tar.gz
Qt-f40bda836b53ac8ce695ef9b3a4f94dc02270105.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Worked around a SC issue in S60 3.x vs 5.0 versions. Apply the gcce link rules for LIBS_PRIVATE too. Build Qt with GCCE 4.4.1, Symbian^3 PDK on Linux and Mac OS X.
Diffstat (limited to 'src')
-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 1551162..af9ae47 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();