src/hbcore/gui/hbmainwindow_p.h
changeset 7 923ff622b8b9
parent 6 c3690ec91ef8
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbcore/gui/hbmainwindow_p.h	Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbcore/gui/hbmainwindow_p.h	Tue Jul 06 14:36:53 2010 +0300
@@ -91,7 +91,8 @@
     QRectF contentRect() const;
     void setTransformedOrientation(Qt::Orientation orientation, bool animate = true);
     qreal rotation() const;
-
+    bool eventFilter(QObject *watched, QEvent *event);
+    
     void select(const HbDeviceProfile &profile, HbDeviceProfile *oldGlobalProfile = 0);
     HbDeviceProfile profile() const;
     HbDeviceProfile adjustedProfile(const HbDeviceProfile &profile) const;
@@ -114,6 +115,10 @@
 
     QGraphicsWidget *element(HbMainWindowPrivate::Element element) const;
 
+    void setObscuredState(bool state);
+#if defined(Q_WS_X11)
+    bool x11HandleShowEvent(QShowEvent *event);
+#endif
     HbGraphicsScene *mScene;
     HbBackgroundItem *mBgItem;
     HbScreen *mClippingItem;
@@ -136,6 +141,7 @@
     bool mAnimateOrientationSwitch;
     bool mGVOrientationChangeEffectEnabled;
     bool mPendingPsPublish;
+    bool mMainWindowActive;
     Qt::Orientation mOrientation;
     Qt::Orientation mRequestedOrientation;
     HbToolBar *mCurrentToolbar;
@@ -160,6 +166,7 @@
     bool mToolbarWasAdded;
     bool mAutomaticOrientationChangeAnimation;
     QTranslator mCommonTranslator;
+    bool mObscuredState;
 #ifdef Q_OS_SYMBIAN
     HbNativeWindow *mNativeWindow;
     RHbDeviceDialogClientSession *mDevDlgClientSession;