X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fnetwork.h;h=b9a22363e79bd766ada68155bee3c7cee847bd28;hp=196943028f9467bf5c1be60c2c3ed0942d5cc8db;hb=5b083e1f67c77ceb7d1d134e976cd6081b70bf12;hpb=61f42c7c9d0e5428512287f97ded31448741f2da diff --git a/src/common/network.h b/src/common/network.h index 19694302..b9a22363 100644 --- a/src/common/network.h +++ b/src/common/network.h @@ -138,7 +138,8 @@ public slots: void removeSupport(const QString ¶m); inline void addIrcUser(const QString &hostmask) { newIrcUser(hostmask); } - void removeIrcUser(QString nick); + void removeIrcUser(const QString &nick); + void removeIrcChannel(const QString &channel); //init geters QVariantMap initSupports() const; @@ -164,13 +165,15 @@ public slots: void emitConnectionError(const QString &); private slots: - void ircUserDestroyed(); void channelDestroyed(); void removeIrcUser(IrcUser *ircuser); + void removeIrcChannel(IrcChannel *ircChannel); + void removeChansAndUsers(); void ircUserInitDone(); void ircChannelInitDone(); signals: + void aboutToBeDestroyed(); void networkNameSet(const QString &networkName); void currentServerSet(const QString ¤tServer); void connectedSet(bool isConnected); @@ -194,6 +197,7 @@ signals: void ircChannelAdded(IrcChannel *); void ircUserRemoved(const QString &nick); + void ircChannelRemoved(const QString &channel); // needed for client sync progress void ircUserRemoved(QObject *);