X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircchannel.h;h=5bcaa79ef08641c50192f07ceace839e5c8d76c2;hp=24347a8e670c1af02b586fff91791d15ca5b8ba4;hb=946e79e0243dda74433016060f12abc65883f243;hpb=cb1918d94b5d8ec9f05a192c96fab938782dabf5 diff --git a/src/common/ircchannel.h b/src/common/ircchannel.h index 24347a8e..5bcaa79e 100644 --- a/src/common/ircchannel.h +++ b/src/common/ircchannel.h @@ -18,8 +18,8 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#ifndef _IRCCHANNEL_H_ -#define _IRCCHANNEL_H_ +#ifndef IRCCHANNEL_H +#define IRCCHANNEL_H #include #include @@ -41,6 +41,7 @@ class IrcChannel : public SyncableObject { public: IrcChannel(const QString &channelname, Network *network); + ~IrcChannel(); bool isKnownUser(IrcUser *ircuser) const; bool isValidChannelUserMode(const QString &mode) const; @@ -118,6 +119,8 @@ signals: void ircUserModeRemoved(IrcUser *ircuser, QString mode); void ircUserModesSet(IrcUser *ircuser, QString modes); + void parted(); // convenience signal emitted before channels destruction + private slots: void ircUserDestroyed(); void ircUserNickSet(QString nick);