equal
deleted
inserted
replaced
51 |
51 |
52 public: |
52 public: |
53 CLOCKVIEWS_EXPORT void setupView( |
53 CLOCKVIEWS_EXPORT void setupView( |
54 ClockAppControllerIf &controllerIf, ClockDocLoader *docLoader); |
54 ClockAppControllerIf &controllerIf, ClockDocLoader *docLoader); |
55 CLOCKVIEWS_EXPORT void setupAfterViewReady(); |
55 CLOCKVIEWS_EXPORT void setupAfterViewReady(); |
|
56 CLOCKVIEWS_EXPORT void captureScreenShot(bool captureScreenShot = false); |
56 |
57 |
57 private slots: |
58 private slots: |
58 void handleAlarmStatusChanged(int row); |
59 void handleAlarmStatusChanged(int row); |
59 void refreshMainView(); |
60 void refreshMainView(); |
60 void displayWorldClockView(); |
61 void displayWorldClockView(); |
67 void updatePlaceLabel(int autoTimeUpdate = -1); |
68 void updatePlaceLabel(int autoTimeUpdate = -1); |
68 void handleAlarmListDisplay(); |
69 void handleAlarmListDisplay(); |
69 void checkOrientationAndLoadSection(Qt::Orientation orientation); |
70 void checkOrientationAndLoadSection(Qt::Orientation orientation); |
70 void selectedMenuAction(HbAction *action); |
71 void selectedMenuAction(HbAction *action); |
71 void handleMenuClosed(); |
72 void handleMenuClosed(); |
|
73 void saveActivity(); |
72 |
74 |
73 private: |
75 private: |
74 void setmodel(); |
76 void setmodel(); |
75 void hideAlarmList(bool show); |
77 void hideAlarmList(bool show); |
76 void removeSnoozedAlarm(); |
78 void removeSnoozedAlarm(); |
97 SettingsUtility *mSettingsUtility; |
99 SettingsUtility *mSettingsUtility; |
98 ClockDocLoader *mDocLoader; |
100 ClockDocLoader *mDocLoader; |
99 ClockAppControllerIf *mAppControllerIf; |
101 ClockAppControllerIf *mAppControllerIf; |
100 ClockAlarmListModel *mAlarmListModel; |
102 ClockAlarmListModel *mAlarmListModel; |
101 |
103 |
102 int mSelectedItem; |
104 int mSelectedItem; |
103 bool mHideAlarmList; |
105 bool mHideAlarmList; |
104 bool mIsLongTop; |
106 bool mIsLongTop; |
|
107 bool mIsScreenShotCapruted; // check if the screenshot captured is valid |
|
108 QVariantHash mScreenShot; // screenshot |
105 }; |
109 }; |
106 |
110 |
107 #endif // CLOCKMAINVIEW_H |
111 #endif // CLOCKMAINVIEW_H |
108 |
112 |
109 // End of file --Don't remove this. |
113 // End of file --Don't remove this. |