clock/clockui/clockviews/inc/clockmainview.h
changeset 81 ce92091cbd61
parent 75 7ac58b2aae6f
equal deleted inserted replaced
75:7ac58b2aae6f 81:ce92091cbd61
    40 class SettingsUtility;
    40 class SettingsUtility;
    41 class ClockAlarmListModel;
    41 class ClockAlarmListModel;
    42 class ClockWidget;
    42 class ClockWidget;
    43 class XQSettingsManager;
    43 class XQSettingsManager;
    44 class XQSettingsKey;
    44 class XQSettingsKey;
       
    45 class AfActivityStorage;
    45 
    46 
    46 class ClockMainView : public HbView
    47 class ClockMainView : public HbView
    47 {
    48 {
    48 	Q_OBJECT
    49 	Q_OBJECT
    49 
    50 
    79 	void setmodel();
    80 	void setmodel();
    80 	void hideAlarmList(bool show);
    81 	void hideAlarmList(bool show);
    81 	void removeSnoozedAlarm();
    82 	void removeSnoozedAlarm();
    82 	void updateDateLabel();
    83 	void updateDateLabel();
    83 	void updateClockWidget();
    84 	void updateClockWidget();
       
    85 	bool removeActivity();
    84 
    86 
    85 private:
    87 private:
    86 	QTimer *mTickTimer;
    88 	QTimer *mTickTimer;
    87 	QColor mLabelColorGroup;
    89 	QColor mLabelColorGroup;
    88 
    90 
   108 	ClockAppControllerIf *mAppControllerIf;
   110 	ClockAppControllerIf *mAppControllerIf;
   109 	ClockAlarmListModel *mAlarmListModel;
   111 	ClockAlarmListModel *mAlarmListModel;
   110 	
   112 	
   111 	XQSettingsManager *mSettingsManager;
   113 	XQSettingsManager *mSettingsManager;
   112 	XQSettingsKey *mClockTypeSettingsKey;
   114 	XQSettingsKey *mClockTypeSettingsKey;
       
   115 	
       
   116 	AfActivityStorage *mActivityStorage;
   113 
   117 
   114 	int            mSelectedItem;
   118 	int            mSelectedItem;
   115 	bool           mHideAlarmList;
   119 	bool           mHideAlarmList;
   116 	bool           mIsLongTop;
   120 	bool           mIsLongTop;
   117 	bool           mIsScreenShotCapruted; // check if the screenshot captured is valid
   121 	bool           mIsScreenShotCapruted; // check if the screenshot captured is valid