KTutorial  0.5.1
Signals | Public Member Functions
ktutorial::editorsupport::EventSpyAdaptor Class Reference

Adaptor to expose an EventSpy through DBus. More...

#include <EventSpyAdaptor.h>

List of all members.

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.

Detailed Description

Adaptor to expose an EventSpy through DBus.

See also:
EditorSupport

Definition at line 39 of file EventSpyAdaptor.h.


Constructor & Destructor Documentation

ktutorial::editorsupport::EventSpyAdaptor::EventSpyAdaptor ( EventSpy eventSpy,
ObjectRegister objectRegister 
) [explicit]

Creates a new EventSpyAdaptor for the given EventSpy.

Parameters:
eventSpyThe EventSpy to adapt.
objectRegisterThe object register to get the object ids from.

Definition at line 32 of file EventSpyAdaptor.cpp.

References eventReceived().


Member Function Documentation

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.

Parameters:
objectIdThe id of the object that received the event.
eventTypeThe type of the event received.

Referenced by EventSpyAdaptor().


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