Example #1
0
void IAPConf::clearAll()
{
    ConnSettings *settings = conn_settings_open(CONN_SETTINGS_CONNECTION,
                                                NULL);
    conn_settings_remove(settings);
    conn_settings_close(settings);
}
Example #2
0
 IAPMonitorPrivate(IAPMonitor *monitor)
     : monitor(monitor)
 {
     settings = conn_settings_open(CONN_SETTINGS_CONNECTION, NULL);
     conn_settings_add_notify(
                     settings,
                     (ConnSettingsNotifyFunc *)conn_settings_notify_func,
                     this);
 }
Example #3
0
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));
    }
}