screensaver/screensaverplugins/snsrbigclockscreensaverplugin/snsrindicatorwidget/inc/snsrindicatormodel.h
equal
deleted
inserted
replaced
40 |
40 |
41 void handleActiveIndicators(const QList<HbIndicatorInterface*> &activeIndicators); |
41 void handleActiveIndicators(const QList<HbIndicatorInterface*> &activeIndicators); |
42 void handleActivatedIndicator(HbIndicatorInterface *activatedIndicator); |
42 void handleActivatedIndicator(HbIndicatorInterface *activatedIndicator); |
43 void handleDeactivatedIndicator(HbIndicatorInterface *deactivatedIndicator); |
43 void handleDeactivatedIndicator(HbIndicatorInterface *deactivatedIndicator); |
44 |
44 |
|
45 void handleUpdatedIndicator(); |
|
46 |
45 void initializeIndicatorWidget(); |
47 void initializeIndicatorWidget(); |
46 |
48 |
47 /* |
49 /* |
48 * Provides notification of changes in online/offline mode |
50 * Provides notification of changes in online/offline mode |
49 */ |
51 */ |
51 |
53 |
52 signals: |
54 signals: |
53 |
55 |
54 void indicatorsUpdated(const QList<SnsrIndicatorInfo> &activeIndicators); |
56 void indicatorsUpdated(const QList<SnsrIndicatorInfo> &activeIndicators); |
55 void allIndicatorsDeactivated(); |
57 void allIndicatorsDeactivated(); |
56 |
58 |
57 private: |
59 private: |
58 |
60 |
59 void addIndicator(const SnsrIndicatorInfo &indicatorInfo); |
61 bool addIndicator(const SnsrIndicatorInfo &indicatorInfo); |
60 |
62 bool isIndicatorAlreadyAdded(const SnsrIndicatorInfo &indicatorInfo) const; |
|
63 |
61 bool findAndRemoveIndicator(const SnsrIndicatorInfo &indicatorInfo); |
64 bool findAndRemoveIndicator(const SnsrIndicatorInfo &indicatorInfo); |
62 |
65 |
63 bool showIndicatorInScreensaver(const HbIndicatorInterface &indicatorInterface, |
66 bool showIndicatorInScreensaver(const HbIndicatorInterface &indicatorInterface, |
64 SnsrIndicatorInfo &indicatorInfo); |
67 SnsrIndicatorInfo &indicatorInfo); |
|
68 |
|
69 void connectToIndicatorsUpdateSignal(const HbIndicatorInterface &indicatorInterface); |
65 |
70 |
66 bool anyActiveIndicators() const; |
71 bool anyActiveIndicators() const; |
67 |
72 |
68 void emitChangeSignal(); |
73 void emitChangeSignal(); |
69 void updateIndicatorsToShowList(); |
74 void updateIndicatorsToShowList(); |