src/hbcore/gui/hbmainwindow_p.h
changeset 7 923ff622b8b9
parent 6 c3690ec91ef8
child 21 4633027730f5
child 34 ed14f46c0e55
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
    89     void removeDockWidgetFromLayout(HbDockWidget *dockWidget);
    89     void removeDockWidgetFromLayout(HbDockWidget *dockWidget);
    90     void updateVisibleItems();
    90     void updateVisibleItems();
    91     QRectF contentRect() const;
    91     QRectF contentRect() const;
    92     void setTransformedOrientation(Qt::Orientation orientation, bool animate = true);
    92     void setTransformedOrientation(Qt::Orientation orientation, bool animate = true);
    93     qreal rotation() const;
    93     qreal rotation() const;
    94 
    94     bool eventFilter(QObject *watched, QEvent *event);
       
    95     
    95     void select(const HbDeviceProfile &profile, HbDeviceProfile *oldGlobalProfile = 0);
    96     void select(const HbDeviceProfile &profile, HbDeviceProfile *oldGlobalProfile = 0);
    96     HbDeviceProfile profile() const;
    97     HbDeviceProfile profile() const;
    97     HbDeviceProfile adjustedProfile(const HbDeviceProfile &profile) const;
    98     HbDeviceProfile adjustedProfile(const HbDeviceProfile &profile) const;
    98 
    99 
    99     void broadcastEvent(int eventType);
   100     void broadcastEvent(int eventType);
   112 
   113 
   113     void _q_viewReady();
   114     void _q_viewReady();
   114 
   115 
   115     QGraphicsWidget *element(HbMainWindowPrivate::Element element) const;
   116     QGraphicsWidget *element(HbMainWindowPrivate::Element element) const;
   116 
   117 
       
   118     void setObscuredState(bool state);
       
   119 #if defined(Q_WS_X11)
       
   120     bool x11HandleShowEvent(QShowEvent *event);
       
   121 #endif
   117     HbGraphicsScene *mScene;
   122     HbGraphicsScene *mScene;
   118     HbBackgroundItem *mBgItem;
   123     HbBackgroundItem *mBgItem;
   119     HbScreen *mClippingItem;
   124     HbScreen *mClippingItem;
   120     HbContentWidget *mViewStackWidget;
   125     HbContentWidget *mViewStackWidget;
   121     HbTitleBar *mTitleBar;
   126     HbTitleBar *mTitleBar;
   134     bool mRootItemFinalPhaseDone;
   139     bool mRootItemFinalPhaseDone;
   135     bool mOrientationEffectFinished;
   140     bool mOrientationEffectFinished;
   136     bool mAnimateOrientationSwitch;
   141     bool mAnimateOrientationSwitch;
   137     bool mGVOrientationChangeEffectEnabled;
   142     bool mGVOrientationChangeEffectEnabled;
   138     bool mPendingPsPublish;
   143     bool mPendingPsPublish;
       
   144     bool mMainWindowActive;
   139     Qt::Orientation mOrientation;
   145     Qt::Orientation mOrientation;
   140     Qt::Orientation mRequestedOrientation;
   146     Qt::Orientation mRequestedOrientation;
   141     HbToolBar *mCurrentToolbar;
   147     HbToolBar *mCurrentToolbar;
   142     HbDockWidget *mCurrentDockWidget;
   148     HbDockWidget *mCurrentDockWidget;
   143     Hb::SceneItems mVisibleItems;
   149     Hb::SceneItems mVisibleItems;
   158     mutable HbDeviceProfile mAlternateProfile;
   164     mutable HbDeviceProfile mAlternateProfile;
   159     QPointer<HbView> mMenuView;
   165     QPointer<HbView> mMenuView;
   160     bool mToolbarWasAdded;
   166     bool mToolbarWasAdded;
   161     bool mAutomaticOrientationChangeAnimation;
   167     bool mAutomaticOrientationChangeAnimation;
   162     QTranslator mCommonTranslator;
   168     QTranslator mCommonTranslator;
       
   169     bool mObscuredState;
   163 #ifdef Q_OS_SYMBIAN
   170 #ifdef Q_OS_SYMBIAN
   164     HbNativeWindow *mNativeWindow;
   171     HbNativeWindow *mNativeWindow;
   165     RHbDeviceDialogClientSession *mDevDlgClientSession;
   172     RHbDeviceDialogClientSession *mDevDlgClientSession;
   166     HbDeviceDialogConnectHelper *mDevDlgConnectHelper;
   173     HbDeviceDialogConnectHelper *mDevDlgConnectHelper;
   167 #endif
   174 #endif