34 Q_INTERFACES(HbIndicatorPluginInterface) |
34 Q_INTERFACES(HbIndicatorPluginInterface) |
35 |
35 |
36 public: |
36 public: |
37 |
37 |
38 NmIndicatorPlugin(); |
38 NmIndicatorPlugin(); |
39 |
|
40 ~NmIndicatorPlugin(); |
39 ~NmIndicatorPlugin(); |
41 |
40 |
42 public: // From HbIndicatorPluginInterface |
41 public: // From HbIndicatorPluginInterface |
43 QStringList indicatorTypes() const; |
42 QStringList indicatorTypes() const; |
44 bool accessAllowed(const QString &indicatorType, |
43 bool accessAllowed(const QString &indicatorType, |
45 const QVariantMap &securityInfo) const; |
44 const QVariantMap &securityInfo) const; |
46 |
45 |
47 HbIndicatorInterface* createIndicator(const QString &indicatorType); |
46 HbIndicatorInterface* createIndicator(const QString &indicatorType); |
48 int error() const; |
47 int error() const; |
49 |
48 |
50 public slots: |
|
51 |
|
52 bool indicatorIconLost(); |
|
53 bool showMailbox(quint64 mailboxId); |
|
54 void indicatorDeactivated(QObject *indicator); |
|
55 void globalStatusChanged(bool sending); |
|
56 |
|
57 private: |
49 private: |
|
50 |
58 Q_DISABLE_COPY(NmIndicatorPlugin) |
51 Q_DISABLE_COPY(NmIndicatorPlugin) |
59 |
52 |
60 int mError; |
53 int mError; |
61 QStringList mIndicatorTypes; |
54 QStringList mIndicatorTypes; |
62 QTranslator *mTranslator; // owned |
55 QTranslator *mTranslator; // owned |
63 QList<NmIndicator*> mIndicators; |
|
64 NmIndicator *mStatusBarIndicator; |
|
65 bool mSending; |
|
66 }; |
56 }; |
67 |
57 |
68 #endif // NMINDICATORPLUGIN_H |
58 #endif // NMINDICATORPLUGIN_H |
69 |
59 |