Diffstat (limited to 'noncore/net/opieirc/ircchannel.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchannel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchannel.h b/noncore/net/opieirc/ircchannel.h index c800b99..e78f182 100644 --- a/noncore/net/opieirc/ircchannel.h +++ b/noncore/net/opieirc/ircchannel.h | |||
@@ -38,24 +38,25 @@ enum IRCChannelPersonFlag { | |||
38 | typedef struct IRCChannelPerson { | 38 | typedef struct IRCChannelPerson { |
39 | IRCPerson *person; | 39 | IRCPerson *person; |
40 | unsigned int flags; | 40 | unsigned int flags; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | /* IRCChannel is the object-oriented representation | 43 | /* IRCChannel is the object-oriented representation |
44 | of an IRC channel. It basically acts as a container | 44 | of an IRC channel. It basically acts as a container |
45 | for IRCChannelPersons */ | 45 | for IRCChannelPersons */ |
46 | class IRCChannel : public QObject { | 46 | class IRCChannel : public QObject { |
47 | Q_OBJECT | 47 | Q_OBJECT |
48 | public: | 48 | public: |
49 | IRCChannel(QString channelname); | 49 | IRCChannel(QString channelname); |
50 | ~IRCChannel(); | ||
50 | 51 | ||
51 | void addPerson(IRCChannelPerson *person); | 52 | void addPerson(IRCChannelPerson *person); |
52 | void removePerson(IRCChannelPerson *person); | 53 | void removePerson(IRCChannelPerson *person); |
53 | IRCChannelPerson *getPerson(QString nickname); | 54 | IRCChannelPerson *getPerson(QString nickname); |
54 | QListIterator<IRCChannelPerson> people(); | 55 | QListIterator<IRCChannelPerson> people(); |
55 | 56 | ||
56 | /* hasPeople identifies whether the irc channel is | 57 | /* hasPeople identifies whether the irc channel is |
57 | done synchronizing with the current state - | 58 | done synchronizing with the current state - |
58 | this is only relevant when joining a channel */ | 59 | this is only relevant when joining a channel */ |
59 | void setHasPeople(bool hasPeople); | 60 | void setHasPeople(bool hasPeople); |
60 | QString channelname(); | 61 | QString channelname(); |
61 | bool hasPeople(); | 62 | bool hasPeople(); |