summaryrefslogtreecommitdiff
path: root/qrtclient/user.hxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 07:13:08 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 07:13:08 +0800
commitb49d11dd8da38c2113d063de30c9e904a4f2f454 (patch)
tree48a1cfb55cf2a76743bcb74a040cbdfe28e30354 /qrtclient/user.hxx
parent2ca46c1ba83fe7c9da8b892c0ada1deb4cba356c (diff)
Change RT_ and rt_ to RTCLIENT_ and rtclient_ respectively
Diffstat (limited to 'qrtclient/user.hxx')
-rw-r--r--qrtclient/user.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/qrtclient/user.hxx b/qrtclient/user.hxx
index 8300c19..8b8f911 100644
--- a/qrtclient/user.hxx
+++ b/qrtclient/user.hxx
@@ -4,7 +4,7 @@
#include <QObject>
#include <rtclient/user.h>
-struct rt_user;
+struct rtclient_user;
namespace RTClient {
@@ -32,8 +32,8 @@ namespace RTClient {
Q_PROPERTY(QString comments READ comments WRITE setComments NOTIFY commentsChanged)
Q_PROPERTY(QString signature READ signature WRITE setSignature NOTIFY signatureChanged)
Q_PROPERTY(QString gecos READ gecos WRITE setGecos NOTIFY gecosChanged)
- Q_PROPERTY(rt_lang lang READ lang WRITE setLang NOTIFY langChanged)
- Q_PROPERTY(rt_timezone timeZone READ timeZone WRITE setTimeZone NOTIFY timeZoneChanged)
+ Q_PROPERTY(rtclient_lang lang READ lang WRITE setLang NOTIFY langChanged)
+ Q_PROPERTY(rtclient_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)
@@ -61,8 +61,8 @@ namespace RTClient {
, m_comments{""}
, m_signature{""}
, m_gecos{""}
- , m_lang{RT_LANG_NONE}
- , m_timeZone{RT_TIMEZONE_NONE}
+ , m_lang{RTCLIENT_LANG_NONE}
+ , m_timeZone{RTCLIENT_TIMEZONE_NONE}
, m_privileged{false}
, m_disabled{true}
{}
@@ -89,8 +89,8 @@ namespace RTClient {
QString const& comments() const { return m_comments; }
QString const& signature() const { return m_signature; }
QString const& gecos() const { return m_gecos; }
- rt_lang lang() const { return m_lang; }
- rt_timezone timeZone() const { return m_timeZone; }
+ rtclient_lang lang() const { return m_lang; }
+ rtclient_timezone timeZone() const { return m_timeZone; }
bool privileged() const { return m_privileged; }
bool disabled() const { return m_disabled; }
@@ -115,8 +115,8 @@ namespace RTClient {
void setComments(QString const& comments);
void setSignature(QString const& signature);
void setGecos(QString const& gecos);
- void setLang(rt_lang lang);
- void setTimeZone(rt_timezone timeZone);
+ void setLang(rtclient_lang lang);
+ void setTimeZone(rtclient_timezone timeZone);
void setPrivileged(bool privileged);
void setDisabled(bool disabled);
@@ -148,7 +148,7 @@ namespace RTClient {
void disabledChanged();
private slots:
- void update(rt_user* user);
+ void update(rtclient_user* user);
private:
QString m_id;
@@ -172,8 +172,8 @@ namespace RTClient {
QString m_comments;
QString m_signature;
QString m_gecos;
- rt_lang m_lang;
- rt_timezone m_timeZone;
+ rtclient_lang m_lang;
+ rtclient_timezone m_timeZone;
bool m_privileged;
bool m_disabled;
};