Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
IrcEventNumeric Class Reference

#include </tmp/quassel/src/common/ircevent.h>

Inheritance diagram for IrcEventNumeric:
Collaboration diagram for IrcEventNumeric:

Public Member Functions

 IrcEventNumeric (uint number, Network *network, const QString &prefix, const QString &target, const QStringList &params=QStringList())
uint number () const
QString target () const
void setTarget (const QString &target)
QString prefix () const
void setPrefix (const QString &prefix)
QString nick () const
QStringList params () const
void setParams (const QStringList &params)
QVariantMap toVariantMap () const
NetworkId networkId () const
Networknetwork () const
EventManager::EventType type () const
void setFlag (EventManager::EventFlag flag)
void setFlags (EventManager::EventFlags flags)
bool testFlag (EventManager::EventFlag flag)
EventManager::EventFlags flags () const
bool isValid () const
void stop ()
bool isStopped ()
void setTimestamp (const QDateTime &time)
QDateTime timestamp () const

Static Public Member Functions

static Eventcreate (EventManager::EventType type, QVariantMap &map, Network *network)
static EventfromVariantMap (QVariantMap &map, Network *network)

Protected Member Functions

 IrcEventNumeric (EventManager::EventType type, QVariantMap &map, Network *network)
void toVariantMap (QVariantMap &map) const
virtual QString className () const
virtual void debugInfo (QDebug &dbg) const
void setValid (bool valid)

Private Attributes

uint _number
QString _target

Friends

class IrcEvent

Detailed Description

Definition at line 65 of file ircevent.h.

Constructor & Destructor Documentation

IrcEventNumeric ( uint  number,
Network network,
const QString &  prefix,
const QString &  target,
const QStringList &  params = QStringList() 
)
inlineexplicit

Definition at line 68 of file ircevent.h.

IrcEventNumeric ( EventManager::EventType  type,
QVariantMap &  map,
Network network 
)
explicitprotected

Definition at line 58 of file ircevent.cpp.

References _number, and _target.

Member Function Documentation

QString target ( ) const
inline
void setTarget ( const QString &  target)
inline

Definition at line 77 of file ircevent.h.

References _target, and target().

Referenced by CoreSessionEventProcessor::processIrcEvent432().

void toVariantMap ( QVariantMap &  map) const
protectedvirtual

Reimplemented from IrcEvent.

Definition at line 66 of file ircevent.cpp.

References number(), target(), and Event::toVariantMap().

virtual QString className ( ) const
inlineprotectedvirtual

Reimplemented from IrcEvent.

Definition at line 83 of file ircevent.h.

virtual void debugInfo ( QDebug &  dbg) const
inlineprotectedvirtual

Reimplemented from IrcEvent.

Definition at line 84 of file ircevent.h.

References number(), IrcEvent::params(), IrcEvent::prefix(), and target().

void setPrefix ( const QString &  prefix)
inlineinherited

Definition at line 37 of file ircevent.h.

References IrcEvent::_prefix, and IrcEvent::prefix().

QString nick ( ) const
inlineinherited
QStringList params ( ) const
inlineinherited

Definition at line 41 of file ircevent.h.

References IrcEvent::_params.

Referenced by CoreSessionEventProcessor::checkParamCount(), EventStringifier::checkParamCount(), IrcEvent::debugInfo(), debugInfo(), CoreSessionEventProcessor::lateProcessIrcEventKick(), CoreSessionEventProcessor::lateProcessIrcEventNick(), CoreSessionEventProcessor::lateProcessIrcEventPart(), CoreSessionEventProcessor::processIrcEvent005(), EventStringifier::processIrcEvent005(), EventStringifier::processIrcEvent301(), CoreSessionEventProcessor::processIrcEvent301(), CoreSessionEventProcessor::processIrcEvent307(), CoreSessionEventProcessor::processIrcEvent310(), EventStringifier::processIrcEvent311(), CoreSessionEventProcessor::processIrcEvent311(), EventStringifier::processIrcEvent312(), CoreSessionEventProcessor::processIrcEvent312(), CoreSessionEventProcessor::processIrcEvent313(), EventStringifier::processIrcEvent314(), EventStringifier::processIrcEvent315(), CoreSessionEventProcessor::processIrcEvent315(), EventStringifier::processIrcEvent317(), CoreSessionEventProcessor::processIrcEvent317(), EventStringifier::processIrcEvent319(), EventStringifier::processIrcEvent322(), CoreSessionEventProcessor::processIrcEvent322(), EventStringifier::processIrcEvent328(), EventStringifier::processIrcEvent329(), EventStringifier::processIrcEvent330(), CoreSessionEventProcessor::processIrcEvent331(), EventStringifier::processIrcEvent331(), CoreSessionEventProcessor::processIrcEvent332(), EventStringifier::processIrcEvent332(), EventStringifier::processIrcEvent333(), EventStringifier::processIrcEvent341(), CoreSessionEventProcessor::processIrcEvent352(), EventStringifier::processIrcEvent352(), CoreSessionEventProcessor::processIrcEvent353(), CoreSessionEventProcessor::processIrcEvent432(), EventStringifier::processIrcEvent432(), CoreSessionEventProcessor::processIrcEvent433(), EventStringifier::processIrcEvent433(), CoreSessionEventProcessor::processIrcEvent437(), EventStringifier::processIrcEvent437(), CoreSessionEventProcessor::processIrcEventAuthenticate(), CoreSessionEventProcessor::processIrcEventCap(), EventStringifier::processIrcEventInvite(), CoreSessionEventProcessor::processIrcEventJoin(), EventStringifier::processIrcEventJoin(), EventStringifier::processIrcEventKick(), CoreSessionEventProcessor::processIrcEventMode(), EventStringifier::processIrcEventMode(), EventStringifier::processIrcEventNick(), EventStringifier::processIrcEventNumeric(), EventStringifier::processIrcEventPart(), CoreSessionEventProcessor::processIrcEventPing(), CoreSessionEventProcessor::processIrcEventPong(), EventStringifier::processIrcEventPong(), CoreSessionEventProcessor::processIrcEventQuit(), EventStringifier::processIrcEventQuit(), CoreSessionEventProcessor::processIrcEventTopic(), EventStringifier::processIrcEventTopic(), EventStringifier::processIrcEventWallops(), IrcEvent::setParams(), IrcEventRawMessage::target(), and IrcEvent::toVariantMap().

void setParams ( const QStringList &  params)
inlineinherited

Definition at line 42 of file ircevent.h.

References IrcEvent::_params, and IrcEvent::params().

Referenced by IrcEventRawMessage::setTarget().

Event * create ( EventManager::EventType  type,
QVariantMap &  map,
Network network 
)
staticinherited

Reimplemented from NetworkEvent.

Reimplemented in CtcpEvent, and KeyEvent.

Definition at line 23 of file ircevent.cpp.

References IrcEvent::IrcEvent().

Referenced by Event::fromVariantMap().

Network* network ( ) const
inlineinherited

Definition at line 39 of file networkevent.h.

References NetworkEvent::_network.

Referenced by NetworkItem::attachNetwork(), MessageEvent::bufferTypeByTarget(), CtcpParser::coreNetwork(), CoreSessionEventProcessor::coreNetwork(), EventStringifier::createMessageEvent(), CtcpParser::displayMsg(), CoreSessionEventProcessor::handleCtcpDcc(), CoreSessionEventProcessor::lateProcessIrcEventKick(), CoreSessionEventProcessor::lateProcessIrcEventNick(), CoreSessionEventProcessor::lateProcessIrcEventPart(), CoreSessionEventProcessor::lateProcessIrcEventQuit(), MessageEvent::MessageEvent(), NetworkModel::networkByIndex(), NetworkEvent::networkId(), CtcpParser::parse(), CtcpParser::parseSimple(), CtcpParser::parseStandard(), EventStringifier::processCtcpEvent(), CoreSessionEventProcessor::processIrcEvent001(), CoreSessionEventProcessor::processIrcEvent005(), EventStringifier::processIrcEvent301(), CoreSessionEventProcessor::processIrcEvent301(), CoreSessionEventProcessor::processIrcEvent305(), EventStringifier::processIrcEvent306(), CoreSessionEventProcessor::processIrcEvent306(), CoreSessionEventProcessor::processIrcEvent307(), CoreSessionEventProcessor::processIrcEvent310(), EventStringifier::processIrcEvent311(), CoreSessionEventProcessor::processIrcEvent311(), CoreSessionEventProcessor::processIrcEvent312(), CoreSessionEventProcessor::processIrcEvent313(), CoreSessionEventProcessor::processIrcEvent317(), CoreSessionEventProcessor::processIrcEvent331(), CoreSessionEventProcessor::processIrcEvent332(), CoreSessionEventProcessor::processIrcEvent352(), CoreSessionEventProcessor::processIrcEvent353(), CoreSessionEventProcessor::processIrcEvent433(), CoreSessionEventProcessor::processIrcEvent437(), CoreSessionEventProcessor::processIrcEventInvite(), CoreSessionEventProcessor::processIrcEventJoin(), EventStringifier::processIrcEventKick(), CoreSessionEventProcessor::processIrcEventMode(), EventStringifier::processIrcEventMode(), EventStringifier::processIrcEventNick(), CoreSessionEventProcessor::processIrcEventNumeric(), CoreSessionEventProcessor::processIrcEventPong(), CoreSessionEventProcessor::processIrcEventQuit(), EventStringifier::processIrcEventQuit(), CoreSessionEventProcessor::processIrcEventTopic(), IrcParser::processNetworkIncoming(), QueryBufferItem::QueryBufferItem(), QueryBufferItem::setBufferName(), CoreSessionEventProcessor::tryNextNick(), and NetworkModel::updateBufferActivity().

void setFlags ( EventManager::EventFlags  flags)
inlineinherited

Definition at line 40 of file event.h.

References Event::_flags, and Event::flags().

Referenced by Event::Event().

EventManager::EventFlags flags ( ) const
inlineinherited
bool isValid ( ) const
inlineinherited

Definition at line 44 of file event.h.

References Event::_valid.

bool isStopped ( )
inlineinherited

Definition at line 46 of file event.h.

References Event::_flags, and EventManager::Stopped.

Event * fromVariantMap ( QVariantMap &  map,
Network network 
)
staticinherited
void setValid ( bool  valid)
inlineprotectedinherited

Definition at line 68 of file event.h.

References Event::_valid.

Referenced by Event::Event().

Friends And Related Function Documentation

friend class IrcEvent
friend

Definition at line 98 of file ircevent.h.

Member Data Documentation

uint _number
private

Definition at line 95 of file ircevent.h.

Referenced by IrcEventNumeric(), and number().

QString _target
private

Definition at line 96 of file ircevent.h.

Referenced by IrcEventNumeric(), setTarget(), and target().


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