screensaver/screensaverplugins/snsrbigclockscreensaverplugin/inc/snsroledanalogclockcontainer.h
equal
deleted
inserted
replaced
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 SnsrOledClockWidget; |
25 class SnsrOledClockWidget; |
26 class HbLabel; |
26 class SnsrLabel; |
27 |
27 |
28 class SnsrOledAnalogClockContainer : public SnsrBigClockContainer |
28 class SnsrOledAnalogClockContainer : public SnsrBigClockContainer |
29 { |
29 { |
30 Q_OBJECT |
30 Q_OBJECT |
31 |
31 |
35 ~SnsrOledAnalogClockContainer(); |
35 ~SnsrOledAnalogClockContainer(); |
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 void updatePosition(); |
40 void updatePosition(); |
42 |
41 |
43 public: // from base classes |
42 public: // from base classes |
44 |
43 |
45 virtual int updateIntervalInMilliseconds(); |
44 virtual int updateIntervalInMilliseconds(); |
|
45 virtual void getActiveScreenRows(int *firstActiveRow, int *lastActiveRow); |
|
46 virtual bool isOrientationLocked(); |
|
47 |
|
48 protected: // from base classes |
|
49 |
|
50 virtual void loadWidgets(); |
46 |
51 |
47 private: |
52 private: |
48 |
53 |
49 QGraphicsWidget *mClockContainer; |
54 QGraphicsWidget *mClockContainer; |
50 |
55 |
51 SnsrOledClockWidget *mOledClockWidget; |
56 SnsrOledClockWidget *mOledClockWidget; |
52 HbLabel *mDateLabel; |
57 SnsrLabel *mDateLabel; |
53 |
58 |
54 QPointF mDestPosition; |
59 QPointF mDestPosition; |
55 bool mInitialize; |
60 bool mInitialize; |
56 |
61 |
57 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrBigClockScreensaverPlugin) |
62 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrBigClockScreensaverPlugin) |