Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IRCChannel Class Reference

#include </home/clem/local/src/opie/noncore/net/opieirc/ircchannel.h>

Collaboration diagram for IRCChannel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IRCChannel (QString channelname)
 ~IRCChannel ()
void addPerson (IRCChannelPerson *person)
void removePerson (IRCChannelPerson *person)
IRCChannelPersongetPerson (QString nickname)
QListIterator< IRCChannelPersonpeople ()
void setHasPeople (bool hasPeople)
QString channelname ()
bool hasPeople ()

Static Public Member Functions

static bool isValid (const QString &channel)

Protected Attributes

QList< IRCChannelPersonm_people
QString m_channelname
bool m_hasPeople

Constructor & Destructor Documentation

IRCChannel::IRCChannel QString  channelname  ) 
 

Definition at line 4 of file ircchannel.cpp.

References FALSE, m_channelname, and m_hasPeople.

IRCChannel::~IRCChannel  ) 
 

Definition at line 9 of file ircchannel.cpp.

References m_people, and TRUE.


Member Function Documentation

void IRCChannel::addPerson IRCChannelPerson person  ) 
 

Definition at line 26 of file ircchannel.cpp.

References m_people.

Referenced by IRCMessageParser::parseLiteralJoin(), and IRCMessageParser::parseNumericalNames().

QString IRCChannel::channelname  ) 
 

Definition at line 14 of file ircchannel.cpp.

References m_channelname.

Referenced by IRCServerTab::display(), IRCChannelTab::IRCChannelTab(), IRCSession::kick(), IRCSession::mode(), IRCSession::op(), IRCMessageParser::parseLiteralKick(), IRCMessageParser::parseNumericalEndOfNames(), IRCMessageParser::parseNumericalTopic(), IRCSession::part(), IRCSession::sendAction(), IRCSession::sendMessage(), and IRCChannelTab::title().

IRCChannelPerson * IRCChannel::getPerson QString  nickname  ) 
 

Definition at line 39 of file ircchannel.cpp.

References m_people.

Referenced by IRCMessageParser::parseCTCPAction(), IRCMessageParser::parseCTCPPing(), IRCMessageParser::parseLiteralJoin(), and IRCMessageParser::parseLiteralKick().

bool IRCChannel::hasPeople  ) 
 

Definition at line 18 of file ircchannel.cpp.

References m_hasPeople.

bool IRCChannel::isValid const QString channel  )  [static]
 

Definition at line 49 of file ircchannel.cpp.

References QString::startsWith().

Referenced by IRCServerEditor::accept(), IRCMessageParser::parseLiteralMode(), and IRCMessageParser::parseLiteralPrivMsg().

QListIterator< IRCChannelPerson > IRCChannel::people  ) 
 

Definition at line 34 of file ircchannel.cpp.

References m_people.

Referenced by IRCChannelList::update().

void IRCChannel::removePerson IRCChannelPerson person  ) 
 

Definition at line 30 of file ircchannel.cpp.

References m_people.

Referenced by IRCMessageParser::parseLiteralKick().

void IRCChannel::setHasPeople bool  hasPeople  ) 
 

Definition at line 22 of file ircchannel.cpp.

References m_hasPeople.

Referenced by IRCMessageParser::parseNumericalEndOfNames().


Member Data Documentation

QString IRCChannel::m_channelname [protected]
 

Definition at line 55 of file ircchannel.h.

Referenced by channelname(), and IRCChannel().

bool IRCChannel::m_hasPeople [protected]
 

Definition at line 56 of file ircchannel.h.

Referenced by hasPeople(), IRCChannel(), and setHasPeople().

QList<IRCChannelPerson> IRCChannel::m_people [protected]
 

Definition at line 54 of file ircchannel.h.

Referenced by addPerson(), getPerson(), people(), removePerson(), and ~IRCChannel().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:36:34 2005 for OPIE by  doxygen 1.4.2