screensaver/screensaverplugins/snsrbigclockscreensaverplugin/inc/snsrdigitalclockcontainer.h
equal
deleted
inserted
replaced
20 |
20 |
21 #include "snsrbigclockcontainer.h" |
21 #include "snsrbigclockcontainer.h" |
22 |
22 |
23 SCREENSAVER_TEST_CLASS(T_SnsrBigClockScreensaverPlugin) |
23 SCREENSAVER_TEST_CLASS(T_SnsrBigClockScreensaverPlugin) |
24 |
24 |
25 class HbLabel; |
25 class SnsrLabel; |
26 class SnsrSwipeWidget; |
26 class SnsrSwipeWidget; |
27 |
27 |
28 class SnsrDigitalClockContainer : public SnsrBigClockContainer |
28 class SnsrDigitalClockContainer : public SnsrBigClockContainer |
29 { |
29 { |
30 Q_OBJECT |
30 Q_OBJECT |
35 ~SnsrDigitalClockContainer(); |
35 ~SnsrDigitalClockContainer(); |
36 |
36 |
37 public slots: |
37 public slots: |
38 |
38 |
39 virtual void update(); |
39 virtual void update(); |
40 virtual void changeLayout(Qt::Orientation orientation); |
|
41 |
40 |
42 public: // from base classes |
41 public: // from base classes |
43 |
42 |
44 virtual int updateIntervalInMilliseconds(); |
43 virtual int updateIntervalInMilliseconds(); |
45 |
44 |
|
45 protected: // from base classes |
|
46 |
|
47 virtual void loadWidgets(); |
|
48 |
46 private: // data |
49 private: // data |
47 |
50 |
48 HbLabel *mTimeLabel; |
51 SnsrLabel *mTimeLabel; |
49 HbLabel *mAmPmLabel; |
52 SnsrLabel *mAmPmLabel; |
50 HbLabel *mDateLabel; |
53 SnsrLabel *mDateLabel; |
51 SnsrSwipeWidget *mSwipeWidget; |
54 SnsrSwipeWidget *mSwipeWidget; |
52 |
55 |
53 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrBigClockScreensaverPlugin) |
56 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrBigClockScreensaverPlugin) |
54 }; |
57 }; |
55 |
58 |