homescreenapp/hsdomainmodel/inc/hsscene.h
changeset 69 87476091b3f5
parent 62 341166945d65
child 86 e4f038c420f7
equal deleted inserted replaced
67:474929a40a0f 69:87476091b3f5
    69     bool isOnline() const;
    69     bool isOnline() const;
    70 
    70 
    71     static HsScene *instance();
    71     static HsScene *instance();
    72     static HsScene *takeInstance();
    72     static HsScene *takeInstance();
    73     static void setInstance(HsScene *instance);
    73     static void setInstance(HsScene *instance);
    74     static HbMainWindow *mainWindow();
    74     //static HbMainWindow *mainWindow();
    75     static Qt::Orientation orientation();
    75     //static Qt::Orientation orientation();
    76 
    76 
    77 signals:
    77 signals:
    78     void pageTapAndHoldFinished(QGestureEvent *event);
    78     void pageTapAndHoldFinished(QGestureEvent *event);
    79     void pagePanStarted(QGestureEvent *event);
    79     void pagePanStarted(QGestureEvent *event);
    80     void pagePanUpdated(QGestureEvent *event);
    80     void pagePanUpdated(QGestureEvent *event);
   103 
   103 
   104     static HsScene *mInstance;
   104     static HsScene *mInstance;
   105 
   105 
   106     friend class HsPage;
   106     friend class HsPage;
   107     friend class HsPageTouchArea;
   107     friend class HsPageTouchArea;
   108     friend class HsWidgetHost;
   108     friend class HsWidgetHostVisual;
   109     friend class HsWidgetTouchArea;
   109     friend class HsWidgetTouchArea;
   110     friend class HsWidgetMoveTouchArea;
   110     friend class HsWidgetMoveTouchArea;
   111 
   111 
   112     HOMESCREEN_TEST_FRIEND_CLASS(TestHsDomainModel)
   112     HOMESCREEN_TEST_FRIEND_CLASS(TestHsDomainModel)
   113     HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)
   113     HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)