src/gui/kernel/qt_s60_p.h
branchRCL_3
changeset 12 25a739ee40f4
parent 8 3f74d0d4af4c
child 13 cc75c76972ee
equal deleted inserted replaced
11:68d3b337861b 12:25a739ee40f4
   152 class QLongTapTimer;
   152 class QLongTapTimer;
   153 
   153 
   154 
   154 
   155 class QSymbianControl : public CCoeControl, public QAbstractLongTapObserver
   155 class QSymbianControl : public CCoeControl, public QAbstractLongTapObserver
   156 #ifdef Q_WS_S60
   156 #ifdef Q_WS_S60
   157 , public MAknFadedComponent
   157 , public MAknFadedComponent, public MEikStatusPaneObserver
   158 #endif
   158 #endif
   159 {
   159 {
   160 public:
   160 public:
   161     DECLARE_TYPE_ID(0x51740000) // Fun fact: the two first values are "Qt" in ASCII.
   161     DECLARE_TYPE_ID(0x51740000) // Fun fact: the two first values are "Qt" in ASCII.
   162 
   162 
   180 
   180 
   181     void setFocusSafely(bool focus);
   181     void setFocusSafely(bool focus);
   182 
   182 
   183 #ifdef Q_WS_S60
   183 #ifdef Q_WS_S60
   184     void FadeBehindPopup(bool fade){ popupFader.FadeBehindPopup( this, this, fade); }
   184     void FadeBehindPopup(bool fade){ popupFader.FadeBehindPopup( this, this, fade); }
       
   185     void HandleStatusPaneSizeChange();
   185 
   186 
   186 protected: // from MAknFadedComponent
   187 protected: // from MAknFadedComponent
   187     TInt CountFadedComponents() {return 1;}
   188     TInt CountFadedComponents() {return 1;}
   188     CCoeControl* FadedComponent(TInt /*aIndex*/) {return this;}
   189     CCoeControl* FadedComponent(TInt /*aIndex*/) {return this;}
   189 #else
   190 #else