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

IRCChannelPerson Class Reference

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

Collaboration diagram for IRCChannelPerson:

Collaboration graph
[legend]
List of all members.

Public Types

enum  IRCChannelPersonFlag { PERSON_FLAG_OP = 0x01, PERSON_FLAG_VOICE = 0x02, PERSON_FLAG_HALFOP = 0x04 }

Public Member Functions

 IRCChannelPerson (IRCPerson *person=0)
 ~IRCChannelPerson ()
QString setOp (const QString &nickname, bool set)
QString setVoice (const QString &nickname, bool set)
QString nick ()
const unsigned int flags ()
void setFlags (int flags)
void setNick (const QString &nickname)

Protected Attributes

IRCPersonm_person
unsigned int m_flags

Member Enumeration Documentation

enum IRCChannelPerson::IRCChannelPersonFlag
 

Enumeration values:
PERSON_FLAG_OP 
PERSON_FLAG_VOICE 
PERSON_FLAG_HALFOP 

Definition at line 34 of file ircchannelperson.h.


Constructor & Destructor Documentation

IRCChannelPerson::IRCChannelPerson IRCPerson person = 0  ) 
 

Definition at line 28 of file ircchannelperson.cpp.

References m_flags, and m_person.

IRCChannelPerson::~IRCChannelPerson  ) 
 

Definition at line 34 of file ircchannelperson.cpp.


Member Function Documentation

const unsigned int IRCChannelPerson::flags  ) 
 

Definition at line 80 of file ircchannelperson.cpp.

References m_flags.

Referenced by IRCChannelList::update().

QString IRCChannelPerson::nick  ) 
 

Definition at line 62 of file ircchannelperson.cpp.

References m_person, IRCPerson::nick(), and QString::null.

Referenced by setOp(), setVoice(), and IRCChannelList::update().

void IRCChannelPerson::setFlags int  flags  ) 
 

Definition at line 70 of file ircchannelperson.cpp.

References m_flags.

Referenced by IRCMessageParser::parseNumericalNames().

void IRCChannelPerson::setNick const QString nickname  ) 
 

Definition at line 75 of file ircchannelperson.cpp.

References m_person, and IRCPerson::setNick().

QString IRCChannelPerson::setOp const QString nickname,
bool  set
 

Definition at line 40 of file ircchannelperson.cpp.

References m_flags, nick(), PERSON_FLAG_OP, and tr.

QString IRCChannelPerson::setVoice const QString nickname,
bool  set
 

Definition at line 51 of file ircchannelperson.cpp.

References m_flags, nick(), PERSON_FLAG_VOICE, and tr.


Member Data Documentation

unsigned int IRCChannelPerson::m_flags [protected]
 

Definition at line 52 of file ircchannelperson.h.

Referenced by flags(), IRCChannelPerson(), setFlags(), setOp(), and setVoice().

IRCPerson* IRCChannelPerson::m_person [protected]
 

Definition at line 51 of file ircchannelperson.h.

Referenced by IRCChannelPerson(), nick(), and setNick().


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