author | skyhusker <skyhusker> | 2005-01-14 20:54:49 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-01-14 20:54:49 (UTC) |
commit | a808497c334275c4b73e31a9bea37f84e344964d (patch) (unidiff) | |
tree | 490b0396494b83b1145fc65ab81e3e437af9aed5 /noncore/net/opieirc/ircsession.h | |
parent | b6c5c3b8b1ab130217678ec789db573ffc52c3eb (diff) | |
download | opie-a808497c334275c4b73e31a9bea37f84e344964d.zip opie-a808497c334275c4b73e31a9bea37f84e344964d.tar.gz opie-a808497c334275c4b73e31a9bea37f84e344964d.tar.bz2 |
Added message queue, now topics always appear in channel tab
Diffstat (limited to 'noncore/net/opieirc/ircsession.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircsession.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircsession.h b/noncore/net/opieirc/ircsession.h index f6330d8..96de3e4 100644 --- a/noncore/net/opieirc/ircsession.h +++ b/noncore/net/opieirc/ircsession.h | |||
@@ -54,31 +54,38 @@ public: | |||
54 | void op(IRCChannel *channel, IRCPerson *person); | 54 | void op(IRCChannel *channel, IRCPerson *person); |
55 | void kick(IRCChannel *channel, IRCPerson *person); | 55 | void kick(IRCChannel *channel, IRCPerson *person); |
56 | void kick(IRCChannel *channel, IRCPerson *person, QString message); | 56 | void kick(IRCChannel *channel, IRCPerson *person, QString message); |
57 | void beginSession(); | 57 | void beginSession(); |
58 | bool isSessionActive(); | 58 | bool isSessionActive(); |
59 | void endSession(); | 59 | void endSession(); |
60 | bool isLoggedIn(); | ||
60 | void sendMessage(IRCPerson *person, QString message); | 61 | void sendMessage(IRCPerson *person, QString message); |
61 | void sendMessage(IRCChannel *channel, QString message); | 62 | void sendMessage(IRCChannel *channel, QString message); |
62 | void sendAction(IRCPerson *person, QString message); | 63 | void sendAction(IRCPerson *person, QString message); |
63 | void sendAction(IRCChannel *channel, QString message); | 64 | void sendAction(IRCChannel *channel, QString message); |
65 | void updateNickname(const QString &oldNickname, const QString &newNickname); | ||
66 | void setValidUsermodes(const QString &modes); | ||
67 | void setValidChannelmodes(const QString &modes); | ||
64 | IRCChannel *getChannel(QString channelname); | 68 | IRCChannel *getChannel(QString channelname); |
65 | IRCPerson *getPerson(QString nickname); | 69 | IRCPerson *getPerson(QString nickname); |
66 | protected: | 70 | protected: |
67 | void addPerson(IRCPerson *person); | 71 | void addPerson(IRCPerson *person); |
68 | void addChannel(IRCChannel *channel); | 72 | void addChannel(IRCChannel *channel); |
69 | void removeChannel(IRCChannel *channel); | 73 | void removeChannel(IRCChannel *channel); |
70 | void removePerson(IRCPerson *person); | 74 | void removePerson(IRCPerson *person); |
71 | void getChannelsByPerson(IRCPerson *person, QList<IRCChannel> &channels); | 75 | void getChannelsByPerson(IRCPerson *person, QList<IRCChannel> &channels); |
72 | protected slots: | 76 | protected slots: |
73 | void handleMessage(IRCMessage *message); | 77 | void handleMessage(IRCMessage *message); |
74 | signals: | 78 | signals: |
75 | void outputReady(IRCOutput output); | 79 | void outputReady(IRCOutput output); |
80 | void updateChannels(); | ||
76 | protected: | 81 | protected: |
77 | IRCServer *m_server; | 82 | IRCServer *m_server; |
78 | IRCConnection *m_connection; | 83 | IRCConnection *m_connection; |
79 | IRCMessageParser *m_parser; | 84 | IRCMessageParser *m_parser; |
80 | QList<IRCChannel> m_channels; | 85 | QList<IRCChannel> m_channels; |
81 | QList<IRCPerson> m_people; | 86 | QList<IRCPerson> m_people; |
87 | QString m_validUsermodes; | ||
88 | QString m_validChannelmodes; | ||
82 | }; | 89 | }; |
83 | 90 | ||
84 | #endif /* __IRCSESSION_H */ | 91 | #endif /* __IRCSESSION_H */ |