screensaver/screensaverplugins/snsrbigclockscreensaverplugin/snsrindicatorwidget/inc/snsrindicatorwidget.h
equal
deleted
inserted
replaced
47 explicit SnsrIndicatorWidget(QGraphicsItem *parent = 0); |
47 explicit SnsrIndicatorWidget(QGraphicsItem *parent = 0); |
48 virtual ~SnsrIndicatorWidget(); |
48 virtual ~SnsrIndicatorWidget(); |
49 |
49 |
50 IndicatorLayoutType layoutType() const; |
50 IndicatorLayoutType layoutType() const; |
51 void setLayoutType(IndicatorLayoutType type); |
51 void setLayoutType(IndicatorLayoutType type); |
52 |
52 |
|
53 void setPowerSaveModeColor(bool savemode); |
|
54 |
53 public slots: |
55 public slots: |
54 |
56 |
55 void showIndicators(const QList<SnsrIndicatorInfo> &indicators); |
57 void showIndicators(const QList<SnsrIndicatorInfo> &indicators); |
56 void removeAllIndicators(); |
58 void removeAllIndicators(); |
57 |
59 |
62 |
64 |
63 private: |
65 private: |
64 |
66 |
65 QList<HbIconItem*> mIcons; |
67 QList<HbIconItem*> mIcons; |
66 IndicatorLayoutType mLayoutType; |
68 IndicatorLayoutType mLayoutType; |
|
69 bool mPowerSaveModeColor; |
67 |
70 |
68 Q_DISABLE_COPY(SnsrIndicatorWidget) |
71 Q_DISABLE_COPY(SnsrIndicatorWidget) |
69 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrIndicatorWidget) |
72 SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrIndicatorWidget) |
70 }; |
73 }; |
71 |
74 |