aboutsummaryrefslogtreecommitdiff
path: root/lib/networksettings.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-28 09:01:37 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-28 09:08:15 +0100
commit0d9428bfbd997ac2073a470e59749cda81e0b213 (patch)
tree5796a35d956038bfdbbbe4e43cb80a3f8380b2f3 /lib/networksettings.h
parent7bb59b7a4a8b8804fa1eb5e631463da6a6cfdf84 (diff)
downloadlibquotient-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.h')
-rw-r--r--lib/networksettings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/networksettings.h b/lib/networksettings.h
index df11a9c8..b83a0e15 100644
--- a/lib/networksettings.h
+++ b/lib/networksettings.h
@@ -12,9 +12,9 @@ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
namespace Quotient {
class NetworkSettings : public SettingsGroup {
Q_OBJECT
- QTNT_DECLARE_SETTING(QNetworkProxy::ProxyType, proxyType, setProxyType)
- QTNT_DECLARE_SETTING(QString, proxyHostName, setProxyHostName)
- QTNT_DECLARE_SETTING(quint16, proxyPort, setProxyPort)
+ QUO_DECLARE_SETTING(QNetworkProxy::ProxyType, proxyType, setProxyType)
+ QUO_DECLARE_SETTING(QString, proxyHostName, setProxyHostName)
+ QUO_DECLARE_SETTING(quint16, proxyPort, setProxyPort)
Q_PROPERTY(QString proxyHost READ proxyHostName WRITE setProxyHostName)
public:
template <typename... ArgTs>