src/hbcore/gui/hbmainwindow.h
changeset 5 627c4a0fd0e7
parent 3 11d3954df52a
child 7 923ff622b8b9
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    41 
    41 
    42 class HB_CORE_EXPORT HbMainWindow : public QGraphicsView
    42 class HB_CORE_EXPORT HbMainWindow : public QGraphicsView
    43 {
    43 {
    44     Q_OBJECT
    44     Q_OBJECT
    45 
    45 
    46     Q_PROPERTY(Qt::Orientation orientation 
    46     Q_PROPERTY(Qt::Orientation orientation
    47                READ orientation
    47                READ orientation
    48                WRITE setOrientation
    48                WRITE setOrientation
    49                RESET unsetOrientation
    49                RESET unsetOrientation
    50                NOTIFY orientationChanged)
    50                NOTIFY orientationChanged)
    51 
    51 
    77 
    77 
    78     void setAutomaticOrientationEffectEnabled(bool enabled = true);
    78     void setAutomaticOrientationEffectEnabled(bool enabled = true);
    79     bool automaticOrientationEffectEnabled() const;
    79     bool automaticOrientationEffectEnabled() const;
    80 
    80 
    81 public slots:
    81 public slots:
    82     void broadcastEvent( int eventType );
    82     void broadcastEvent(int eventType);
    83 
    83 
    84 signals:
    84 signals:
    85     void viewReady();
    85     void viewReady();
    86     void aboutToChangeView(HbView *oldView, HbView *newView);
    86     void aboutToChangeView(HbView *oldView, HbView *newView);
    87     void currentViewChanged(HbView *view);
    87     void currentViewChanged(HbView *view);
   103     HbMainWindowPrivate *const d_ptr;
   103     HbMainWindowPrivate *const d_ptr;
   104 
   104 
   105 private:
   105 private:
   106     Q_DISABLE_COPY(HbMainWindow)
   106     Q_DISABLE_COPY(HbMainWindow)
   107     Q_DECLARE_PRIVATE_D(d_ptr, HbMainWindow)
   107     Q_DECLARE_PRIVATE_D(d_ptr, HbMainWindow)
   108     Q_PRIVATE_SLOT(d_func(), void rootItemFirstPhaseDone(const HbEffect::EffectStatus& status))
   108     Q_PRIVATE_SLOT(d_func(), void rootItemFirstPhaseDone(const HbEffect::EffectStatus &status))
   109     Q_PRIVATE_SLOT(d_func(), void rootItemFinalPhaseDone(const HbEffect::EffectStatus& status))
   109     Q_PRIVATE_SLOT(d_func(), void rootItemFinalPhaseDone(const HbEffect::EffectStatus &status))
   110     Q_PRIVATE_SLOT(d_func(), void orientationEffectFinished(const HbEffect::EffectStatus& status))
   110     Q_PRIVATE_SLOT(d_func(), void orientationEffectFinished(const HbEffect::EffectStatus &status))
   111     Q_PRIVATE_SLOT(d_func(), void _q_viewChanged())
   111     Q_PRIVATE_SLOT(d_func(), void _q_viewChanged())
   112     Q_PRIVATE_SLOT(d_func(), void _q_viewRemoved(QGraphicsWidget *))
   112     Q_PRIVATE_SLOT(d_func(), void _q_viewRemoved(QGraphicsWidget *))
   113     Q_PRIVATE_SLOT(d_func(), void _q_viewTitleChanged(const QString &))
   113     Q_PRIVATE_SLOT(d_func(), void _q_viewTitleChanged(const QString &))
   114     Q_PRIVATE_SLOT(d_func(), void _q_viewToolBarChanged())
   114     Q_PRIVATE_SLOT(d_func(), void _q_viewToolBarChanged())
   115     Q_PRIVATE_SLOT(d_func(), void _q_viewDockWidgetChanged())
   115     Q_PRIVATE_SLOT(d_func(), void _q_viewDockWidgetChanged())