equal
deleted
inserted
replaced
46 |
46 |
47 QList<HsWidgetHost *> newWidgets(); |
47 QList<HsWidgetHost *> newWidgets(); |
48 bool addNewWidget(HsWidgetHost *widgetHost); |
48 bool addNewWidget(HsWidgetHost *widgetHost); |
49 void layoutNewWidgets(); |
49 void layoutNewWidgets(); |
50 void resetNewWidgets(); |
50 void resetNewWidgets(); |
51 |
|
52 bool deleteFromDatabase(); |
51 bool deleteFromDatabase(); |
53 |
52 |
54 QList<HsWidgetHost *> widgets() const; |
53 QList<HsWidgetHost *> widgets() const; |
55 |
54 |
56 bool isRemovable() const; |
55 bool isRemovable() const; |
57 void setRemovable(bool removable); |
56 void setRemovable(bool removable); |
58 |
57 |
59 bool updateZValues(); |
58 bool updateZValues(); |
60 |
|
61 void setOnline(bool online = true); |
|
62 |
59 |
63 static HsPage *createInstance(const HsPageData &pageData); |
60 static HsPage *createInstance(const HsPageData &pageData); |
|
61 |
|
62 public slots: |
|
63 void showWidgets(); |
|
64 void hideWidgets(); |
|
65 void setOnline(bool online = true); |
64 |
66 |
65 private: |
67 private: |
66 void connectWidget(HsWidgetHost *widget); |
68 void connectWidget(HsWidgetHost *widget); |
67 void disconnectWidget(HsWidgetHost *widget); |
69 void disconnectWidget(HsWidgetHost *widget); |
68 |
70 |
71 |
73 |
72 private: |
74 private: |
73 int mDatabaseId; |
75 int mDatabaseId; |
74 bool mRemovable; |
76 bool mRemovable; |
75 QList<HsWidgetHost*> mWidgets; |
77 QList<HsWidgetHost*> mWidgets; |
76 QList<HsWidgetHost *> mNewWidgets; |
78 QList<HsWidgetHost*> mNewWidgets; |
77 |
79 QMap<QString, QPointF> mStartPoint; |
|
80 |
78 HOMESCREEN_TEST_FRIEND_CLASS(TestRuntimeServices) |
81 HOMESCREEN_TEST_FRIEND_CLASS(TestRuntimeServices) |
79 }; |
82 }; |
80 |
83 |
81 #endif |
84 #endif |