29 Q_OBJECT |
29 Q_OBJECT |
30 |
30 |
31 public: |
31 public: |
32 InfoWidgetNetworkHandler(QObject *parent = NULL); |
32 InfoWidgetNetworkHandler(QObject *parent = NULL); |
33 ~InfoWidgetNetworkHandler(); |
33 ~InfoWidgetNetworkHandler(); |
34 |
34 |
|
35 QString serviceProviderName() const; |
|
36 bool serviceProviderNameDisplayRequired() const; |
35 QString homeZoneTextTag() const; |
37 QString homeZoneTextTag() const; |
36 int homeZoneIndicatorType() const; |
38 int homeZoneIndicatorType() const; |
37 |
|
38 QString mcnName() const; |
39 QString mcnName() const; |
39 int mcnIndicatorType() const; |
40 int mcnIndicatorType() const; |
40 |
41 int networkRegistrationStatus() const; |
|
42 bool isOnline() const; |
|
43 |
41 void logCurrentInfo(); |
44 void logCurrentInfo(); |
42 |
45 |
43 public: // From MNWMessageObserver |
46 public: // From MNWMessageObserver |
44 void HandleNetworkMessage(const TNWMessages aMessage); |
47 void HandleNetworkMessage(const TNWMessages aMessage); |
45 void HandleNetworkError(const TNWOperation aOperation, TInt aErrorCode); |
48 void HandleNetworkError(const TNWOperation aOperation, TInt aErrorCode); |
|
49 |
|
50 public slots: |
|
51 void suspend(); |
|
52 void resume(); |
|
53 |
|
54 void enableMcn(); |
|
55 void disableMcn(); |
|
56 |
|
57 protected: |
|
58 void writeMcnDisplayState(bool enabled); |
|
59 bool readMcnDisplayState(); |
46 |
60 |
47 signals: |
61 signals: |
48 void networkDataChanged(); |
62 void networkDataChanged(); |
49 void networkError(int operation, int errorCode); |
63 void networkError(int operation, int errorCode); |
50 |
64 |