void IAPConf::clearAll() { ConnSettings *settings = conn_settings_open(CONN_SETTINGS_CONNECTION, NULL); conn_settings_remove(settings); conn_settings_close(settings); }
IAPMonitorPrivate(IAPMonitor *monitor) : monitor(monitor) { settings = conn_settings_open(CONN_SETTINGS_CONNECTION, NULL); conn_settings_add_notify( settings, (ConnSettingsNotifyFunc *)conn_settings_notify_func, this); }
IAPConf::IAPConf(const QString &iap_id) : d_ptr(new IAPConfPrivate) { d_ptr->settings = conn_settings_open(CONN_SETTINGS_CONNECTION, QSTRING_TO_CONST_CSTR(iap_id)); if (d_ptr->settings == 0) { qWarning("IAPConf: Unable to open ConnSettings for %s", QSTRING_TO_CONST_CSTR(iap_id)); } }