8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * Header file for DateTimeSettingsView class. |
|
16 * |
16 */ |
17 */ |
17 |
18 |
18 #ifndef DATETIMESETTINGSVIEW_H_ |
19 #ifndef DATETIMESETTINGSVIEW_H_ |
19 #define DATETIMESETTINGSVIEW_H_ |
20 #define DATETIMESETTINGSVIEW_H_ |
20 |
21 |
21 #include <cpbasesettingview.h> |
22 // User includes |
|
23 #include <cpsettingformentryitemdata.h> |
22 |
24 |
23 class DateTimeSettingsView : public CpBaseSettingView |
25 // Forward declarations |
|
26 class QTimer; |
|
27 class TimezoneClient; |
|
28 |
|
29 class DateTimeSettingsView : public CpSettingFormEntryItemData |
24 { |
30 { |
25 Q_OBJECT |
31 Q_OBJECT |
26 public: |
32 public: |
27 explicit DateTimeSettingsView(QGraphicsItem *parent = 0); |
33 explicit DateTimeSettingsView( |
28 virtual ~DateTimeSettingsView(); |
34 CpItemDataHelper &itemDataHelper, const QString &text = QString(), |
|
35 const QString &description = QString(), |
|
36 const HbIcon &icon = HbIcon(), |
|
37 const HbDataFormModelItem *parent = 0); |
|
38 virtual ~DateTimeSettingsView(); |
|
39 |
|
40 private slots: |
|
41 void onLaunchView(); |
|
42 void updateDisplayTime(); |
|
43 |
|
44 private: |
|
45 virtual CpBaseSettingView *createSettingView() const; |
|
46 |
|
47 private: |
|
48 QTimer *mTickTimer; |
|
49 TimezoneClient *mTimezoneClient; |
29 |
50 |
30 }; |
51 }; |
31 #endif// DATETIMESETTINGSVIEW_H_ |
52 |
|
53 #endif // DATETIMESETTINGSVIEW_H_ |
|
54 |
|
55 // End of file --Don't remove this |