diff options
-rw-r--r-- | client.cxx | 4 | ||||
-rw-r--r-- | qrtclient/client.hxx | 2 | ||||
-rw-r--r-- | qrtclient/user.hxx | 12 | ||||
-rw-r--r-- | user.cxx | 14 |
4 files changed, 16 insertions, 16 deletions
@@ -37,7 +37,7 @@ namespace RTClient { , QString const& signature , QString const& gecos , rtclient_user_lang lang - , rtclient_user_timezone timeZone + , rtclient_user_timezone timezone , bool disabled , bool privileged) { @@ -62,7 +62,7 @@ namespace RTClient { , signature.toLatin1().constData() , gecos.toLatin1().constData() , lang - , timeZone + , timezone , disabled , privileged); } diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx index 408e174..e29d273 100644 --- a/qrtclient/client.hxx +++ b/qrtclient/client.hxx @@ -41,7 +41,7 @@ namespace RTClient { , QString const& gecos = nullptr , rtclient_user_lang lang = RTCLIENT_USER_LANG_NONE - , rtclient_user_timezone timeZone + , rtclient_user_timezone timezone = RTCLIENT_USER_TIMEZONE_NONE , bool disabled = false , bool privileged = false); diff --git a/qrtclient/user.hxx b/qrtclient/user.hxx index 39287a1..e4a1c45 100644 --- a/qrtclient/user.hxx +++ b/qrtclient/user.hxx @@ -33,7 +33,7 @@ namespace RTClient { Q_PROPERTY(QString signature READ signature WRITE setSignature NOTIFY signatureChanged) Q_PROPERTY(QString gecos READ gecos WRITE setGecos NOTIFY gecosChanged) Q_PROPERTY(rtclient_user_lang lang READ lang WRITE setLang NOTIFY langChanged) - Q_PROPERTY(rtclient_user_timezone timeZone READ timeZone WRITE setTimeZone NOTIFY timeZoneChanged) + Q_PROPERTY(rtclient_user_timezone timezone READ timezone WRITE setTimeZone NOTIFY timezoneChanged) Q_PROPERTY(bool privileged READ privileged WRITE setPrivileged NOTIFY privilegedChanged) Q_PROPERTY(bool disabled READ disabled WRITE setDisabled NOTIFY disabledChanged) @@ -62,7 +62,7 @@ namespace RTClient { , m_signature{""} , m_gecos{""} , m_lang{RTCLIENT_USER_LANG_NONE} - , m_timeZone{RTCLIENT_USER_TIMEZONE_NONE} + , m_timezone{RTCLIENT_USER_TIMEZONE_NONE} , m_privileged{false} , m_disabled{true} {} @@ -90,7 +90,7 @@ namespace RTClient { QString const& signature() const { return m_signature; } QString const& gecos() const { return m_gecos; } rtclient_user_lang lang() const { return m_lang; } - rtclient_user_timezone timeZone() const { return m_timeZone; } + rtclient_user_timezone timezone() const { return m_timezone; } bool privileged() const { return m_privileged; } bool disabled() const { return m_disabled; } @@ -116,7 +116,7 @@ namespace RTClient { void setSignature(QString const& signature); void setGecos(QString const& gecos); void setLang(rtclient_user_lang lang); - void setTimeZone(rtclient_user_timezone timeZone); + void setTimeZone(rtclient_user_timezone timezone); void setPrivileged(bool privileged); void setDisabled(bool disabled); @@ -146,7 +146,7 @@ namespace RTClient { void signatureChanged(); void gecosChanged(); void langChanged(); - void timeZoneChanged(); + void timezoneChanged(); void privilegedChanged(); void disabledChanged(); @@ -173,7 +173,7 @@ namespace RTClient { QString m_signature; QString m_gecos; rtclient_user_lang m_lang; - rtclient_user_timezone m_timeZone; + rtclient_user_timezone m_timezone; bool m_privileged; bool m_disabled; }; @@ -180,11 +180,11 @@ namespace RTClient { } } - void User::setTimeZone(rtclient_user_timezone timeZone) + void User::setTimeZone(rtclient_user_timezone timezone) { - if (m_timeZone != timeZone) { - m_timeZone = timeZone; - emit timeZoneChanged(); + if (m_timezone != timezone) { + m_timezone = timezone; + emit timezoneChanged(); } } @@ -272,8 +272,8 @@ namespace RTClient { emit gecosChanged(); } if (user->timezone) { - m_timeZone = user->timezone; - emit timeZoneChanged(); + m_timezone = user->timezone; + emit timezoneChanged(); } if (user->lang) { m_lang = user->lang; @@ -311,7 +311,7 @@ namespace RTClient { m_signature = ""; m_gecos = ""; m_lang = RTCLIENT_USER_LANG_NONE; - m_timeZone = RTCLIENT_USER_TIMEZONE_NONE; + m_timezone = RTCLIENT_USER_TIMEZONE_NONE; m_privileged = false; m_disabled = true; } |