KTutorial
0.5.1
|
Adaptor to expose an EventSpy through DBus. More...
#include <EventSpyAdaptor.h>
Signals | |
void | eventReceived (int objectId, const QString &eventType) |
Emitted when an event is received in any of the spied objects or their children. | |
Public Member Functions | |
EventSpyAdaptor (EventSpy *eventSpy, ObjectRegister *objectRegister) | |
Creates a new EventSpyAdaptor for the given EventSpy. |
Adaptor to expose an EventSpy through DBus.
Definition at line 39 of file EventSpyAdaptor.h.
ktutorial::editorsupport::EventSpyAdaptor::EventSpyAdaptor | ( | EventSpy * | eventSpy, |
ObjectRegister * | objectRegister | ||
) | [explicit] |
Creates a new EventSpyAdaptor for the given EventSpy.
eventSpy | The EventSpy to adapt. |
objectRegister | The object register to get the object ids from. |
Definition at line 32 of file EventSpyAdaptor.cpp.
References eventReceived().
void ktutorial::editorsupport::EventSpyAdaptor::eventReceived | ( | int | objectId, |
const QString & | eventType | ||
) | [signal] |
Emitted when an event is received in any of the spied objects or their children.
objectId | The id of the object that received the event. |
eventType | The type of the event received. |
Referenced by EventSpyAdaptor().