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

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

Inheritance diagram for BasicHandler:

Public Member Functions

 BasicHandler (QObject *parent=0)
 BasicHandler (const QString &methodPrefix, QObject *parent=0)
QStringList providesHandlers ()

Protected Member Functions

virtual void handle (const QString &member, QGenericArgument val0=QGenericArgument(0), QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument())

Private Member Functions

const QHash< QString, int > & handlerHash ()

Private Attributes

QHash< QString, int > _handlerHash
int _defaultHandler
bool _initDone
QString _methodPrefix

Detailed Description

Definition at line 30 of file basichandler.h.

Constructor & Destructor Documentation

BasicHandler ( QObject *  parent = 0)

Definition at line 27 of file basichandler.cpp.

BasicHandler ( const QString &  methodPrefix,
QObject *  parent = 0 

Definition at line 36 of file basichandler.cpp.

Member Function Documentation

QStringList providesHandlers ( )

Definition at line 45 of file basichandler.cpp.

References handlerHash().

Referenced by CoreSessionEventProcessor::handleCtcpClientinfo().

void handle ( const QString &  member,
QGenericArgument  val0 = QGenericArgument(0),
QGenericArgument  val1 = QGenericArgument(),
QGenericArgument  val2 = QGenericArgument(),
QGenericArgument  val3 = QGenericArgument(),
QGenericArgument  val4 = QGenericArgument(),
QGenericArgument  val5 = QGenericArgument(),
QGenericArgument  val6 = QGenericArgument(),
QGenericArgument  val7 = QGenericArgument(),
QGenericArgument  val8 = QGenericArgument() 
const QHash< QString, int > & handlerHash ( )

Definition at line 51 of file basichandler.cpp.

References _defaultHandler, _handlerHash, _initDone, and _methodPrefix.

Referenced by handle(), and providesHandlers().

Member Data Documentation

QHash<QString, int> _handlerHash

Definition at line 49 of file basichandler.h.

Referenced by handlerHash().

int _defaultHandler

Definition at line 50 of file basichandler.h.

Referenced by handle(), and handlerHash().

bool _initDone

Definition at line 51 of file basichandler.h.

Referenced by handlerHash().

QString _methodPrefix

Definition at line 52 of file basichandler.h.

Referenced by handle(), and handlerHash().

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