-void IrcUser::setSuserHost(const QString &suserHost) {
- if(!suserHost.isEmpty() && suserHost != _suserHost) {
- _suserHost = suserHost;
- emit suserHostSet(suserHost);
- }
+
+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))
+}
+
+
+void IrcUser::updateObjectName()
+{
+ renameObject(QString::number(network()->networkId().toInt()) + "/" + _nick);