-void IrcUser::setSuserHost(const QString &suserHost) {
- if(!suserHost.isEmpty() && suserHost != _suserHost) {
- _suserHost = suserHost;
- emit suserHostSet(suserHost);
- }
+
+void IrcUser::setNick(const QString &nick)
+{
+ if (!nick.isEmpty() && nick != _nick) {
+ _nick = nick;
+ updateObjectName();
+ SYNC(ARG(nick))
+ emit nickSet(nick);
+ }
+}
+
+
+void IrcUser::setWhoisServiceReply(const QString &whoisServiceReply)
+{
+ if (!whoisServiceReply.isEmpty() && whoisServiceReply != _whoisServiceReply) {
+ _whoisServiceReply = whoisServiceReply;
+ SYNC(ARG(whoisServiceReply))
+ }
+}
+
+
+void IrcUser::setSuserHost(const QString &suserHost)
+{
+ if (!suserHost.isEmpty() && suserHost != _suserHost) {
+ _suserHost = suserHost;
+ SYNC(ARG(suserHost))
+ }
+}
+
+
+void IrcUser::setEncrypted(bool encrypted)
+{
+ _encrypted = encrypted;
+ emit encryptedSet(encrypted);
+ SYNC(ARG(encrypted))