equal
deleted
inserted
replaced
22 #include <QString> |
22 #include <QString> |
23 #include <QVariant> |
23 #include <QVariant> |
24 #include <hbindicatorinterface.h> |
24 #include <hbindicatorinterface.h> |
25 #include "phoneindicators.h" |
25 #include "phoneindicators.h" |
26 |
26 |
|
27 #include <xqappmgr.h> |
|
28 |
27 class PhoneIndicatorInterface : public HbIndicatorInterface |
29 class PhoneIndicatorInterface : public HbIndicatorInterface |
28 { |
30 { |
29 public: |
31 public: |
30 PhoneIndicatorInterface(const QString &indicatorType, |
32 PhoneIndicatorInterface(const QString &indicatorType, |
31 int typeIndex, |
33 int typeIndex, |
33 |
35 |
34 ~PhoneIndicatorInterface(); |
36 ~PhoneIndicatorInterface(); |
35 |
37 |
36 bool handleInteraction(InteractionType type); |
38 bool handleInteraction(InteractionType type); |
37 QVariant indicatorData(int role) const; |
39 QVariant indicatorData(int role) const; |
|
40 |
|
41 private slots: |
|
42 void handleReturnValue(const QVariant &returnValue); |
|
43 void handleError(int errorCode,const QString &errorMessage); |
38 |
44 |
39 protected: |
45 protected: |
40 |
46 |
41 bool handleClientRequest(RequestType type, const QVariant ¶meter); |
47 bool handleClientRequest(RequestType type, const QVariant ¶meter); |
|
48 |
|
49 private: |
|
50 void launchDivertSettingsView(); |
42 |
51 |
43 private: |
52 private: |
44 |
53 |
45 int m_typeIndex; |
54 int m_typeIndex; |
46 Interaction m_interaction; |
55 Interaction m_interaction; |
47 QString m_primaryText; |
56 QString m_primaryText; |
48 QString m_secondaryText; |
57 QString m_secondaryText; |
49 QString m_icon; |
58 QString m_icon; |
50 QString m_icon2; |
59 QString m_icon2; |
51 QVariant m_parameter; |
60 QVariant m_parameter; |
|
61 XQApplicationManager m_appMgr; |
52 }; |
62 }; |
53 |
63 |
54 #endif // PHONEINDICATORINTERFACE_H |
64 #endif // PHONEINDICATORINTERFACE_H |