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

#include </tmp/quassel/src/client/clientuserinputhandler.h>

Inheritance diagram for ClientUserInputHandler:
Collaboration diagram for ClientUserInputHandler:

Public Slots

void handleUserInput (const BufferInfo &bufferInfo, const QString &msg)

Signals

void sendInput (const BufferInfo &, const QString &)

Public Member Functions

 ClientUserInputHandler (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 Slots

void completionSuffixChanged (const QVariant &)
void handleExec (const BufferInfo &bufferInfo, const QString &execString)
void handleJoin (const BufferInfo &bufferInfo, const QString &text)
void handleQuery (const BufferInfo &bufferInfo, const QString &text)
void defaultHandler (const QString &cmd, const BufferInfo &bufferInfo, const QString &text)

Private Member Functions

void switchBuffer (const NetworkId &networkId, const QString &bufferName)
 Helper method for switching to new/existing buffers.

Private Attributes

QRegExp _nickRx

Detailed Description

Definition at line 29 of file clientuserinputhandler.h.

Constructor & Destructor Documentation

Member Function Documentation

void sendInput ( const BufferInfo ,
const QString &   
)
signal

Referenced by defaultHandler().

void completionSuffixChanged ( const QVariant &  v)
privateslot

Definition at line 47 of file clientuserinputhandler.cpp.

References _nickRx.

Referenced by ClientUserInputHandler().

void handleExec ( const BufferInfo bufferInfo,
const QString &  execString 
)
privateslot

Definition at line 88 of file clientuserinputhandler.cpp.

References ExecWrapper::start().

void handleJoin ( const BufferInfo bufferInfo,
const QString &  text 
)
privateslot
void handleQuery ( const BufferInfo bufferInfo,
const QString &  text 
)
privateslot
void defaultHandler ( const QString &  cmd,
const BufferInfo bufferInfo,
const QString &  text 
)
privateslot

Definition at line 81 of file clientuserinputhandler.cpp.

References sendInput().

Referenced by handleJoin(), and handleQuery().

void switchBuffer ( const NetworkId networkId,
const QString &  bufferName 
)
private
QStringList providesHandlers ( )
inherited
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() 
)
protectedvirtualinherited

Member Data Documentation

QRegExp _nickRx
private

Definition at line 51 of file clientuserinputhandler.h.

Referenced by completionSuffixChanged(), and handleUserInput().


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