#include <networksettings.h>
|
| NetworkSettings () |
|
Q_INVOKABLE void | setupApplicationProxy () const |
|
| SettingsGroup (QString path, QObject *parent=nullptr) |
|
Q_INVOKABLE bool | contains (const QString &key) const |
|
Q_INVOKABLE QVariant | value (const QString &key, const QVariant &defaultValue={}) const |
|
template<typename T > |
T | get (const QString &key, const T &defaultValue={}) const |
|
Q_INVOKABLE QString | group () const |
| Get the path for this settings group.
|
|
Q_INVOKABLE QStringList | childGroups () const |
|
Q_INVOKABLE void | setValue (const QString &key, const QVariant &value) |
|
Q_INVOKABLE void | remove (const QString &key) |
|
| Settings (QObject *parent=nullptr) |
|
Q_INVOKABLE void | setValue (const QString &key, const QVariant &value) |
| Set the value for a given key.
|
|
Q_INVOKABLE void | remove (const QString &key) |
| Remove the value from both the primary and legacy locations.
|
|
Q_INVOKABLE QVariant | value (const QString &key, const QVariant &defaultValue={}) const |
| Obtain a value for a given key.
|
|
template<typename T > |
T | get (const QString &key, const T &defaultValue={}) const |
| Obtain a value for a given key, coerced to the given type.
|
|
Q_INVOKABLE bool | contains (const QString &key) const |
|
Q_INVOKABLE QStringList | childGroups () const |
| Obtain the list of child groups from the current or, if missing, legacy settings.
|
|
Definition at line 13 of file networksettings.h.
◆ NetworkSettings()
Quotient::NetworkSettings::NetworkSettings |
( |
| ) |
|
|
inlineexplicit |
◆ setupApplicationProxy()
Q_INVOKABLE void Quotient::NetworkSettings::setupApplicationProxy |
( |
| ) |
const |
◆ proxyHost
QString Quotient::NetworkSettings::proxyHost |
|
readwrite |
The documentation for this class was generated from the following file: