equal
deleted
inserted
replaced
56 { |
56 { |
57 Q_OBJECT |
57 Q_OBJECT |
58 public: |
58 public: |
59 SettingsWrapper(QObject *parent = NULL); |
59 SettingsWrapper(QObject *parent = NULL); |
60 ~SettingsWrapper(); |
60 ~SettingsWrapper(); |
|
61 |
61 public: |
62 public: |
62 /*! |
63 /*! |
63 Show call duration setting |
64 Show call duration setting |
64 */ |
65 */ |
65 bool showCallDuration(); |
66 bool showCallDuration(); |
99 Return true if ongoing call exists. |
100 Return true if ongoing call exists. |
100 Return false if ongoing call does not exist. |
101 Return false if ongoing call does not exist. |
101 */ |
102 */ |
102 bool isOngoingCall() const; |
103 bool isOngoingCall() const; |
103 |
104 |
|
105 /*! |
|
106 Checks if network is connected. |
|
107 Return true if connected. |
|
108 Return false if not connected. |
|
109 */ |
|
110 bool isConnectedToNetwork() const; |
|
111 |
104 /*! |
112 /*! |
105 Forbidden Icon support |
113 Forbidden Icon support |
106 */ |
114 */ |
107 bool forbiddenIconSupported() const; |
115 bool forbiddenIconSupported() const; |
108 |
116 |
130 |
138 |
131 private: // Data |
139 private: // Data |
132 // Own |
140 // Own |
133 XQSettingsManager *m_settings; |
141 XQSettingsManager *m_settings; |
134 |
142 |
135 QSystemDeviceInfo *m_deviceInfo; |
143 |
136 }; |
144 }; |
137 |
145 |
138 #endif // CPPLUGINCOMMON_H |
146 #endif // CPPLUGINCOMMON_H |