diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-28 09:01:37 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-28 09:08:15 +0100 |
commit | 0d9428bfbd997ac2073a470e59749cda81e0b213 (patch) | |
tree | 5796a35d956038bfdbbbe4e43cb80a3f8380b2f3 /lib/networksettings.cpp | |
parent | 7bb59b7a4a8b8804fa1eb5e631463da6a6cfdf84 (diff) | |
download | libquotient-0d9428bfbd997ac2073a470e59749cda81e0b213.tar.gz libquotient-0d9428bfbd997ac2073a470e59749cda81e0b213.zip |
Settings classes: unify on QUO_ macro prefix
At some point macros were prepended with QTNT (pronounced "cute-n't",
"Quotient" with vowels dropped) but that didn't go very far. Having
forgotten about this, I introduced QUO prefix in a few places. Being
initial letters of "Quotient", QUO feels more understandable (and
coincidentally is a well-known Latin word); so let's unify on this.
Diffstat (limited to 'lib/networksettings.cpp')
-rw-r--r-- | lib/networksettings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/networksettings.cpp b/lib/networksettings.cpp index ce46ce5f..06b1fdf9 100644 --- a/lib/networksettings.cpp +++ b/lib/networksettings.cpp @@ -11,9 +11,9 @@ void NetworkSettings::setupApplicationProxy() const { proxyType(), proxyHostName(), proxyPort() }); } -QTNT_DEFINE_SETTING(NetworkSettings, QNetworkProxy::ProxyType, proxyType, +QUO_DEFINE_SETTING(NetworkSettings, QNetworkProxy::ProxyType, proxyType, "proxy_type", QNetworkProxy::DefaultProxy, setProxyType) -QTNT_DEFINE_SETTING(NetworkSettings, QString, proxyHostName, "proxy_hostname", +QUO_DEFINE_SETTING(NetworkSettings, QString, proxyHostName, "proxy_hostname", {}, setProxyHostName) -QTNT_DEFINE_SETTING(NetworkSettings, quint16, proxyPort, "proxy_port", -1, +QUO_DEFINE_SETTING(NetworkSettings, quint16, proxyPort, "proxy_port", -1, setProxyPort) |