summaryrefslogtreecommitdiff
path: root/user.cxx
blob: 8bc593c342c2644461fbd0256efd15107c1809cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
#include "qrtclient/user.hxx"

namespace RTClient {

void User::setId(unsigned int id)
{
	if (m_id != id) {
		m_id = id;
		emit idChanged();
	}
}

void User::setName(QString const& name)
{
	if (m_name != name) {
		m_name = name;
		emit nameChanged();
	}
}

void User::setPassword(QString const& password)
{
	if (m_password != password) {
		m_password = password;
		emit passwordChanged();
	}
}

void User::setEmailAddress(QString const& emailAddress)
{
	if (m_emailAddress != emailAddress) {
		m_emailAddress = emailAddress;
		emit emailAddressChanged();
	}
}

void User::setRealName(QString const& realName)
{
	if (m_realName != realName) {
		m_realName = realName;
		emit realNameChanged();
	}
}

void User::setNickName(QString const& nickName)
{
	if (m_nickName != nickName) {
		m_nickName = nickName;
		emit nickNameChanged();
	}
}

void User::setOrganization(QString const& organization)
{
	if (m_organization != organization) {
		m_organization = organization;
		emit organizationChanged();
	}
}

void User::setAddress1(QString const& address1)
{
	if (m_address1 != address1) {
		m_address1 = address1;
		emit address1Changed();
	}
}

void User::setAddress2(QString const& address2)
{
	if (m_address2 != address2) {
		m_address2 = address2;
		emit address2Changed();
	}
}

void User::setCity(QString const& city)
{
	if (m_city != city) {
		m_city = city;
		emit cityChanged();
	}
}

void User::setState(QString const& state)
{
	if (m_state != state) {
		m_state = state;
		emit stateChanged();
	}
}

void User::setZip(QString const& zip)
{
	if (m_zip != zip) {
		m_zip = zip;
		emit zipChanged();
	}
}

void User::setCountry(QString const& country)
{
	if (m_country != country) {
		m_country = country;
		emit countryChanged();
	}
}

void User::setHomePhone(QString const& homePhone)
{
	if (m_homePhone != homePhone) {
		m_homePhone = homePhone;
		emit homePhoneChanged();
	}
}

void User::setWorkPhone(QString const& workPhone)
{
	if (m_workPhone != workPhone) {
		m_workPhone = workPhone;
		emit workPhoneChanged();
	}
}

void User::setMobilePhone(QString const& mobilePhone)
{
	if (m_mobilePhone != mobilePhone) {
		m_mobilePhone = mobilePhone;
		emit mobilePhoneChanged();
	}
}

void User::setPagerPhone(QString const& pagerPhone)
{
	if (m_pagerPhone != pagerPhone) {
		m_pagerPhone = pagerPhone;
		emit pagerPhoneChanged();
	}
}

void User::setContactInfo(QString const& contactInfo)
{
	if (m_contactInfo != contactInfo) {
		m_contactInfo = contactInfo;
		emit contactInfoChanged();
	}
}

void User::setComments(QString const& comments)
{
	if (m_comments != comments) {
		m_comments = comments;
		emit commentsChanged();
	}
}

void User::setSignature(QString const& signature)
{
	if (m_signature != signature) {
		m_signature = signature;
		emit signatureChanged();
	}
}

void User::setGecos(QString const& gecos)
{
	if (m_gecos != gecos) {
		m_gecos = gecos;
		emit gecosChanged();
	}
}

void User::setLang(rtclient_user_lang lang)
{
	if (m_lang != lang) {
		m_lang = lang;
		emit langChanged();
	}
}

void User::setTimeZone(rtclient_user_timezone timezone)
{
	if (m_timezone != timezone) {
		m_timezone = timezone;
		emit timezoneChanged();
	}
}

void User::setPrivileged(bool privileged)
{
	if (m_privileged != privileged) {
		m_privileged = privileged;
		emit privilegedChanged();
	}
}

void User::setDisabled(bool disabled)
{
	if (m_disabled != disabled) {
		m_disabled = disabled;
		emit disabledChanged();
	}
}

}