clock/clockui/clockviews/inc/clockmainview.h
changeset 75 7ac58b2aae6f
parent 57 bb2d3e476f29
child 81 ce92091cbd61
equal deleted inserted replaced
72:27feeedec790 75:7ac58b2aae6f
    38 class AlarmClient;
    38 class AlarmClient;
    39 class TimezoneClient;
    39 class TimezoneClient;
    40 class SettingsUtility;
    40 class SettingsUtility;
    41 class ClockAlarmListModel;
    41 class ClockAlarmListModel;
    42 class ClockWidget;
    42 class ClockWidget;
       
    43 class XQSettingsManager;
       
    44 class XQSettingsKey;
    43 
    45 
    44 class ClockMainView : public HbView
    46 class ClockMainView : public HbView
    45 {
    47 {
    46 	Q_OBJECT
    48 	Q_OBJECT
    47 
    49 
    69 	void handleAlarmListDisplay();
    71 	void handleAlarmListDisplay();
    70 	void checkOrientationAndLoadSection(Qt::Orientation orientation);
    72 	void checkOrientationAndLoadSection(Qt::Orientation orientation);
    71 	void selectedMenuAction(HbAction *action);
    73 	void selectedMenuAction(HbAction *action);
    72 	void handleMenuClosed();
    74 	void handleMenuClosed();
    73     void saveActivity();
    75     void saveActivity();
       
    76     void eventMonitor(const XQSettingsKey& key, const QVariant& value);
    74 
    77 
    75 private:
    78 private:
    76 	void setmodel();
    79 	void setmodel();
    77 	void hideAlarmList(bool show);
    80 	void hideAlarmList(bool show);
    78 	void removeSnoozedAlarm();
    81 	void removeSnoozedAlarm();
   102 	AlarmClient *mAlarmClient;
   105 	AlarmClient *mAlarmClient;
   103 	SettingsUtility *mSettingsUtility;
   106 	SettingsUtility *mSettingsUtility;
   104 	ClockDocLoader *mDocLoader;
   107 	ClockDocLoader *mDocLoader;
   105 	ClockAppControllerIf *mAppControllerIf;
   108 	ClockAppControllerIf *mAppControllerIf;
   106 	ClockAlarmListModel *mAlarmListModel;
   109 	ClockAlarmListModel *mAlarmListModel;
       
   110 	
       
   111 	XQSettingsManager *mSettingsManager;
       
   112 	XQSettingsKey *mClockTypeSettingsKey;
   107 
   113 
   108 	int            mSelectedItem;
   114 	int            mSelectedItem;
   109 	bool           mHideAlarmList;
   115 	bool           mHideAlarmList;
   110 	bool           mIsLongTop;
   116 	bool           mIsLongTop;
   111 	bool           mIsScreenShotCapruted; // check if the screenshot captured is valid
   117 	bool           mIsScreenShotCapruted; // check if the screenshot captured is valid