Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Huggle::IRC::NetworkIrc Class Reference

The NetworkIrc provides connection to IRC servers. More...

#include <networkirc.hpp>

Public Member Functions

 NetworkIrc (QString server, QString nick)
 
void Connect ()
 Connect to server.
 
void Data (QString text)
 
void Disconnect ()
 
void Exit ()
 
MessageGetMessage ()
 
bool IsConnected ()
 IsConnected checks for connection. More...
 
bool IsConnecting ()
 
void Join (QString name)
 
void Part (QString name)
 
void Send (QString name, QString text)
 

Public Attributes

QStringList Channels
 
QString Ident
 
QList< MessageMessages
 
QMutex * messages_lock
 
QString Nick
 
int Port
 
QString Server
 
QString UserName
 

Private Attributes

bool __Connected
 
bool __IsConnecting
 
NetworkIrc_thNetworkThread
 
QTcpSocket * s
 Pointer to a QT Socket that is handling the connection to irc server owned by this class.
 
QMutex * writer_lock
 

Detailed Description

The NetworkIrc provides connection to IRC servers.

Definition at line 94 of file networkirc.hpp.

Member Function Documentation

bool NetworkIrc::IsConnected ( )

IsConnected checks for connection.

Returns
When you are connected returns true

Definition at line 55 of file networkirc.cpp.

Referenced by Huggle::VandalNw::onTick().


The documentation for this class was generated from the following files: