equal
deleted
inserted
replaced
269 return enabled; |
269 return enabled; |
270 } |
270 } |
271 |
271 |
272 bool CpSettingsWrapper::isPhoneOffline() const |
272 bool CpSettingsWrapper::isPhoneOffline() const |
273 { |
273 { |
274 return QSystemDeviceInfo::OfflineProfile == m_deviceInfo->currentProfile(); |
274 bool networkConnectionAllowed = readCenrepValue(KCRUidCoreApplicationUIs.iUid, |
|
275 KCoreAppUIsNetworkConnectionAllowed).toBool(); |
|
276 // 0 = Offline Mode, 1 = Online Mode |
|
277 DPRINT << "networkConnectionAllowed: " << networkConnectionAllowed; |
|
278 return !networkConnectionAllowed; |
275 } |
279 } |
276 |
280 |
277 bool CpSettingsWrapper::isOngoingCall() const |
281 bool CpSettingsWrapper::isOngoingCall() const |
278 { |
282 { |
279 bool callOngoing(false); |
283 bool callOngoing(false); |