homescreenapp/hsdomainmodel/inc/hspage.h
changeset 55 03646e8da489
parent 51 4785f57bf3d4
child 60 30f14686fb04
child 62 341166945d65
--- a/homescreenapp/hsdomainmodel/inc/hspage.h	Thu May 27 12:46:08 2010 +0300
+++ b/homescreenapp/hsdomainmodel/inc/hspage.h	Fri Jun 11 13:30:16 2010 +0300
@@ -55,6 +55,8 @@
     bool isRemovable() const;
     void setRemovable(bool removable);
 
+    bool isActivePage() const;
+    
     static HsPage *createInstance(const HsPageData &pageData);
 
 public slots:
@@ -67,18 +69,25 @@
     int pageIndex();
 
 private:
+    Q_DISABLE_COPY(HsPage)
     void connectWidget(HsWidgetHost *widget);
     void disconnectWidget(HsWidgetHost *widget);
 
 private slots:
-    void onWidgetFinished(HsWidgetHost *widget);
-    void onWidgetResized(HsWidgetHost *widget);
+    void onWidgetFinished();
+    void onWidgetFaulted();
+    void onWidgetResized();
+    void onWidgetAvailable();
+    void onWidgetUnavailable();
+
+    void onOrientationChanged(Qt::Orientation orientation);
 
 private:
     int mDatabaseId;
     bool mRemovable;
     QList<HsWidgetHost*> mWidgets;
     QList<HsWidgetHost*> mNewWidgets;
+    QList<HsWidgetHost*> mUnavailableWidgets;
 
     HOMESCREEN_TEST_FRIEND_CLASS(TestRuntimeServices)
 };