src/gui/kernel/qt_s60_p.h
branchRCL_3
changeset 13 c0432d11811c
parent 12 cc75c76972ee
equal deleted inserted replaced
12:cc75c76972ee 13:c0432d11811c
   120     int mouseInteractionEnabled : 1;
   120     int mouseInteractionEnabled : 1;
   121     int virtualMouseRequired : 1;
   121     int virtualMouseRequired : 1;
   122     int qtOwnsS60Environment : 1;
   122     int qtOwnsS60Environment : 1;
   123     int supportsPremultipliedAlpha : 1;
   123     int supportsPremultipliedAlpha : 1;
   124     int avkonComponentsSupportTransparency : 1;
   124     int avkonComponentsSupportTransparency : 1;
       
   125     int menuBeingConstructed : 1;
   125     QApplication::QS60MainApplicationFactory s60ApplicationFactory; // typedef'ed pointer type
   126     QApplication::QS60MainApplicationFactory s60ApplicationFactory; // typedef'ed pointer type
   126     static inline void updateScreenSize();
   127     static inline void updateScreenSize();
   127     static inline RWsSession& wsSession();
   128     static inline RWsSession& wsSession();
   128     static inline RWindowGroup& windowGroup();
   129     static inline RWindowGroup& windowGroup();
   129     static inline CWsScreenDevice* screenDevice();
   130     static inline CWsScreenDevice* screenDevice();
   152 class QLongTapTimer;
   153 class QLongTapTimer;
   153 
   154 
   154 
   155 
   155 class QSymbianControl : public CCoeControl, public QAbstractLongTapObserver
   156 class QSymbianControl : public CCoeControl, public QAbstractLongTapObserver
   156 #ifdef Q_WS_S60
   157 #ifdef Q_WS_S60
   157 , public MAknFadedComponent
   158 , public MAknFadedComponent, public MEikStatusPaneObserver
   158 #endif
   159 #endif
   159 {
   160 {
   160 public:
   161 public:
   161     DECLARE_TYPE_ID(0x51740000) // Fun fact: the two first values are "Qt" in ASCII.
   162     DECLARE_TYPE_ID(0x51740000) // Fun fact: the two first values are "Qt" in ASCII.
   162 
   163 
   180 
   181 
   181     void setFocusSafely(bool focus);
   182     void setFocusSafely(bool focus);
   182 
   183 
   183 #ifdef Q_WS_S60
   184 #ifdef Q_WS_S60
   184     void FadeBehindPopup(bool fade){ popupFader.FadeBehindPopup( this, this, fade); }
   185     void FadeBehindPopup(bool fade){ popupFader.FadeBehindPopup( this, this, fade); }
       
   186     void HandleStatusPaneSizeChange();
   185 
   187 
   186 protected: // from MAknFadedComponent
   188 protected: // from MAknFadedComponent
   187     TInt CountFadedComponents() {return 1;}
   189     TInt CountFadedComponents() {return 1;}
   188     CCoeControl* FadedComponent(TInt /*aIndex*/) {return this;}
   190     CCoeControl* FadedComponent(TInt /*aIndex*/) {return this;}
   189 #else
   191 #else