#include </home/clem/local/src/opie/noncore/net/opieirc/ircconnection.h>
Collaboration diagram for IRCConnection:

Signals | |
| void | messageArrived (IRCMessage *message) |
| void | outputReady (IRCOutput output) |
Public Member Functions | |
| IRCConnection (IRCServer *server) | |
| void | doConnect () |
| void | sendLine (QString line) |
| void | sendCTCPReply (const QString &nickname, const QString &type, const QString &args) |
| void | sendCTCPRequest (const QString &nickname, const QString &type, const QString &args) |
| void | sendCTCPPing (const QString &nickname) |
| void | whois (const QString &nickname) |
| void | sendCTCPping (const QString &nickname) |
| void | close () |
| bool | isConnected () |
| bool | isLoggedIn () |
Protected Slots | |
| void | login () |
| void | error (int num) |
| void | dataReady () |
| void | disconnect () |
Protected Attributes | |
| IRCServer * | m_server |
| QSocket * | m_socket |
| bool | m_connected |
| bool | m_loggedIn |
|
|
Definition at line 9 of file ircconnection.cpp. References dataReady(), disconnect(), error(), FALSE, login(), m_connected, m_loggedIn, m_server, and m_socket. |
|
|
Definition at line 116 of file ircconnection.cpp. References disconnect(), and m_socket. Referenced by IRCSession::endSession(). |
|
|
Definition at line 78 of file ircconnection.cpp. References QValueList< T >::begin(), IRCServer::channels(), IRCMessage::commandNumber(), QValueList< T >::end(), IRCMessage::isNumerical(), m_loggedIn, m_server, m_socket, message, messageArrived(), OUTPUT_CLIENTMESSAGE, outputReady(), sendLine(), QStringList::split(), QString::startsWith(), tr, and TRUE. Referenced by IRCConnection(). |
|
|
Definition at line 102 of file ircconnection.cpp. References FALSE, m_connected, m_loggedIn, OUTPUT_CONNCLOSE, outputReady(), and tr. Referenced by close(), and IRCConnection(). |
|
|
Definition at line 22 of file ircconnection.cpp. References IRCServer::hostname(), m_connected, m_server, m_socket, and IRCServer::port(). Referenced by IRCSession::beginSession(). |
|
|
Definition at line 98 of file ircconnection.cpp. References OUTPUT_ERROR, outputReady(), and tr. Referenced by IRCConnection(). |
|
|
Definition at line 108 of file ircconnection.cpp. References m_connected. Referenced by IRCSession::isSessionActive(). |
|
|
Definition at line 112 of file ircconnection.cpp. References m_loggedIn. Referenced by IRCSession::endSession(), and IRCSession::isLoggedIn(). |
|
|
Definition at line 58 of file ircconnection.cpp. References IRCServer::hostname(), hostname, m_connected, m_server, IRCServer::nick(), OUTPUT_CLIENTMESSAGE, outputReady(), IRCServer::password(), IRCServer::realname(), sendLine(), tr, TRUE, and IRCServer::username(). Referenced by IRCConnection(). |
|
|
Referenced by dataReady(). |
|
|
Referenced by dataReady(), disconnect(), error(), and login(). |
|
|
|
|
|
Definition at line 43 of file ircconnection.cpp. References QDateTime::currentDateTime(), QString::number(), QDateTime::secsTo(), sendCTCPRequest(), and QDateTime::setTime_t(). Referenced by IRCSession::sendCTCPPing(). |
|
||||||||||||||||
|
Definition at line 35 of file ircconnection.cpp. References sendLine(). Referenced by IRCMessageParser::parseCTCPPing(), IRCMessageParser::parseCTCPVersion(), and IRCSession::sendCTCPReply(). |
|
||||||||||||||||
|
Definition at line 39 of file ircconnection.cpp. References sendLine(). Referenced by sendCTCPPing(), and IRCSession::sendCTCPRequest(). |
|
|
Definition at line 28 of file ircconnection.cpp. References QString::append(), QString::left(), QString::length(), m_socket, and QString::right(). Referenced by dataReady(), IRCSession::join(), IRCSession::kick(), login(), IRCSession::mode(), IRCSession::op(), IRCMessageParser::parseLiteralPing(), IRCSession::part(), IRCSession::quit(), IRCSession::raw(), IRCSession::sendAction(), sendCTCPReply(), sendCTCPRequest(), IRCSession::sendMessage(), IRCSession::topic(), and whois(). |
|
|
Definition at line 50 of file ircconnection.cpp. References sendLine(). Referenced by IRCSession::whois(). |
|
|
Definition at line 65 of file ircconnection.h. Referenced by disconnect(), doConnect(), IRCConnection(), isConnected(), and login(). |
|
|
Definition at line 66 of file ircconnection.h. Referenced by dataReady(), disconnect(), IRCConnection(), and isLoggedIn(). |
|
|
Definition at line 63 of file ircconnection.h. Referenced by dataReady(), doConnect(), IRCConnection(), and login(). |
|
|
Definition at line 64 of file ircconnection.h. Referenced by close(), dataReady(), doConnect(), IRCConnection(), and sendLine(). |
1.4.2