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/settings.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/settings.cpp')
-rw-r--r-- | lib/settings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/settings.cpp b/lib/settings.cpp index ed9082b0..5549e4de 100644 --- a/lib/settings.cpp +++ b/lib/settings.cpp @@ -102,11 +102,11 @@ void SettingsGroup::remove(const QString& key) Settings::remove(fullKey); } -QTNT_DEFINE_SETTING(AccountSettings, QString, deviceId, "device_id", {}, +QUO_DEFINE_SETTING(AccountSettings, QString, deviceId, "device_id", {}, setDeviceId) -QTNT_DEFINE_SETTING(AccountSettings, QString, deviceName, "device_name", {}, +QUO_DEFINE_SETTING(AccountSettings, QString, deviceName, "device_name", {}, setDeviceName) -QTNT_DEFINE_SETTING(AccountSettings, bool, keepLoggedIn, "keep_logged_in", false, +QUO_DEFINE_SETTING(AccountSettings, bool, keepLoggedIn, "keep_logged_in", false, setKeepLoggedIn) static const auto HomeserverKey = QStringLiteral("homeserver"); |