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 a276f10..001f5bb 100644 --- a/noncore/net/opieirc/ircchannel.h +++ b/noncore/net/opieirc/ircchannel.h | |||
@@ -40,19 +40,20 @@ public: | |||
40 | 40 | ||
41 | void addPerson(IRCChannelPerson *person); | 41 | void addPerson(IRCChannelPerson *person); |
42 | void removePerson(IRCChannelPerson *person); | 42 | void removePerson(IRCChannelPerson *person); |
43 | IRCChannelPerson *getPerson(QString nickname); | 43 | IRCChannelPerson *getPerson(QString nickname); |
44 | QListIterator<IRCChannelPerson> people(); | 44 | QListIterator<IRCChannelPerson> people(); |
45 | 45 | ||
46 | /* hasPeople identifies whether the irc channel is | 46 | /* hasPeople identifies whether the irc channel is |
47 | done synchronizing with the current state - | 47 | done synchronizing with the current state - |
48 | this is only relevant when joining a channel */ | 48 | this is only relevant when joining a channel */ |
49 | void setHasPeople(bool hasPeople); | 49 | void setHasPeople(bool hasPeople); |
50 | QString channelname(); | 50 | QString channelname(); |
51 | bool hasPeople(); | 51 | bool hasPeople(); |
52 | static bool isValid(const QString &channel); | ||
52 | protected: | 53 | protected: |
53 | QList<IRCChannelPerson> m_people; | 54 | QList<IRCChannelPerson> m_people; |
54 | QString m_channelname; | 55 | QString m_channelname; |
55 | bool m_hasPeople; | 56 | bool m_hasPeople; |
56 | }; | 57 | }; |
57 | 58 | ||
58 | #endif /* __IRCCHANNEL_H */ | 59 | #endif /* __IRCCHANNEL_H */ |