WD
|
#include <wd_event_dispatcher.h>
Public Member Functions | |
void | add (EventDispatcher *dispatcher) |
QVector< EventDispatcher * > & | getDispatchers () |
bool | dispatch (QEvent *event) |
Static Public Member Functions | |
static WDEventDispatcher * | getInstance () |
This class contains dispathers chain.
void WDEventDispatcher::add | ( | EventDispatcher * | dispatcher | ) |
Add dispatcher item to dispatchers chain
dispatcher | - pointer to new dispatcher instance |
bool WDEventDispatcher::dispatch | ( | QEvent * | event | ) |
Method dispatch event
event | - event for dispatching |
QVector<EventDispatcher*>& WDEventDispatcher::getDispatchers | ( | ) |
Return container with dispatcher chain
|
static |
Method returns WDEventDispatcher instance