172
173
void Identity::setId(IdentityId _id) {
173
174
_identityId = _id;
175
177
renameObject(QString::number(id().toInt()));
178
180
void Identity::setIdentityName(const QString &identityName) {
179
181
_identityName = identityName;
180
emit identityNameSet(identityName);
182
SYNC(ARG(identityName))
183
185
void Identity::setRealName(const QString &realName) {
184
186
_realName = realName;
185
emit realNameSet(realName);
188
190
void Identity::setNicks(const QStringList &nicks) {
190
193
emit nicksSet(nicks);
193
196
void Identity::setAwayNick(const QString &nick) {
194
197
_awayNick = nick;
195
emit awayNickSet(nick);
198
201
void Identity::setAwayReason(const QString &reason) {
199
202
_awayReason = reason;
200
emit awayReasonSet(reason);
203
206
void Identity::setAwayNickEnabled(bool enabled) {
204
207
_awayNickEnabled = enabled;
205
emit awayNickEnabledSet(enabled);
208
211
void Identity::setAwayReasonEnabled(bool enabled) {
209
212
_awayReasonEnabled = enabled;
210
emit awayReasonEnabledSet(enabled);
213
216
void Identity::setAutoAwayEnabled(bool enabled) {
214
217
_autoAwayEnabled = enabled;
215
emit autoAwayEnabledSet(enabled);
218
221
void Identity::setAutoAwayTime(int time) {
219
222
_autoAwayTime = time;
220
emit autoAwayTimeSet(time);
223
226
void Identity::setAutoAwayReason(const QString &reason) {
224
227
_autoAwayReason = reason;
225
emit autoAwayReasonSet(reason);
228
231
void Identity::setAutoAwayReasonEnabled(bool enabled) {
229
232
_autoAwayReasonEnabled = enabled;
230
emit autoAwayReasonEnabledSet(enabled);
233
236
void Identity::setDetachAwayEnabled(bool enabled) {
234
237
_detachAwayEnabled = enabled;
235
emit detachAwayEnabledSet(enabled);
238
241
void Identity::setDetachAwayReason(const QString &reason) {
239
242
_detachAwayReason = reason;
240
emit detachAwayReasonSet(reason);
243
246
void Identity::setDetachAwayReasonEnabled(bool enabled) {
244
247
_detachAwayReasonEnabled = enabled;
245
emit detachAwayReasonEnabledSet(enabled);
248
251
void Identity::setIdent(const QString &ident) {
250
emit identSet(ident);
253
256
void Identity::setKickReason(const QString &reason) {
254
257
_kickReason = reason;
255
emit kickReasonSet(reason);
258
261
void Identity::setPartReason(const QString &reason) {
259
262
_partReason = reason;
260
emit partReasonSet(reason);
263
266
void Identity::setQuitReason(const QString &reason) {
264
267
_quitReason = reason;
265
emit quitReasonSet(reason);