author | skyhusker <skyhusker> | 2005-01-26 22:45:53 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-01-26 22:45:53 (UTC) |
commit | f85af28663814f3262f5ecfcd20a4b4f67c23067 (patch) (unidiff) | |
tree | 994bd8c5a9f361ca7eff8ef9fb404f89f6f90f78 /noncore/net/opieirc/ircconnection.h | |
parent | cbaf2c1c6eb42bc8a283a40fe922603a44c29304 (diff) | |
download | opie-f85af28663814f3262f5ecfcd20a4b4f67c23067.zip opie-f85af28663814f3262f5ecfcd20a4b4f67c23067.tar.gz opie-f85af28663814f3262f5ecfcd20a4b4f67c23067.tar.bz2 |
* Created new class for IRCChannelPerson.
* Added whois, ping and version entries to channel popup menu.
* Fixed action on CTCP PING reply (was interpreted as a request).
Diffstat (limited to 'noncore/net/opieirc/ircconnection.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircconnection.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircconnection.h b/noncore/net/opieirc/ircconnection.h index 75cdf6d..382b1c0 100644 --- a/noncore/net/opieirc/ircconnection.h +++ b/noncore/net/opieirc/ircconnection.h | |||
@@ -34,13 +34,17 @@ class IRCConnection : public QObject { | |||
34 | public: | 34 | public: |
35 | IRCConnection(IRCServer *server); | 35 | IRCConnection(IRCServer *server); |
36 | void doConnect(); | 36 | void doConnect(); |
37 | /* used to send commands to the IRC server */ | 37 | /* used to send commands to the IRC server */ |
38 | void sendLine(QString line); | 38 | void sendLine(QString line); |
39 | /* used to send CTCP commands to the IRC server */ | 39 | /* used to send CTCP commands to the IRC server */ |
40 | void sendCTCP(QString nick, QString line); | 40 | void sendCTCPReply(const QString &nickname, const QString &type, const QString &args); |
41 | void sendCTCPRequest(const QString &nickname, const QString &type, const QString &args); | ||
42 | void sendCTCPPing(const QString &nickname); | ||
43 | void whois(const QString &nickname); | ||
44 | void sendCTCPping(const QString &nickname); | ||
41 | void close(); | 45 | void close(); |
42 | bool isConnected(); | 46 | bool isConnected(); |
43 | bool isLoggedIn(); | 47 | bool isLoggedIn(); |
44 | signals: | 48 | signals: |
45 | /* triggered when the server sent us a message */ | 49 | /* triggered when the server sent us a message */ |
46 | void messageArrived(IRCMessage *message); | 50 | void messageArrived(IRCMessage *message); |