lib

Kross::Api::EventSlot Class Reference

#include <eventslot.h>

Inheritance diagram for Kross::Api::EventSlot:

Kross::Api::Event< T > Kross::Api::Callable Kross::Api::Object List of all members.

Detailed Description

Each Qt signal and slot connection between a QObject instance and a functionname is represented with a EventSlot and handled by the EventManager.

Definition at line 36 of file eventslot.h.


Public Types

typedef KSharedPtr< EventSlotPtr

Public Member Functions

 EventSlot (const QString &name, Object::Ptr parent, QObject *receiver, QCString slot)
virtual ~EventSlot ()
virtual const QString getClassName () const
virtual Object::Ptr call (const QString &name, KSharedPtr< List > arguments)

Member Typedef Documentation

Shared pointer to implement reference-counting.

Reimplemented from Kross::Api::Callable.

Definition at line 43 of file eventslot.h.


Constructor & Destructor Documentation

EventSlot::EventSlot ( const QString &  name,
Object::Ptr  parent,
QObject *  receiver,
QCString  slot 
)

Constructor.

Parameters:
name The name of the EventSlot. The EventSlot will be accessible by that unique name via it's parent.
parent The parent object this EventSlot is child of.
receiver The receiver of the event.
slot The slot of the receiver which this EventSlot points to.

Definition at line 30 of file eventslot.cpp.

EventSlot::~EventSlot (  )  [virtual]

Destructor.

Definition at line 37 of file eventslot.cpp.


Member Function Documentation

virtual Object::Ptr Kross::Api::EventSlot::call ( const QString &  name,
KSharedPtr< List arguments 
) [virtual]

See also:
Kross::Api::Event::call()

Reimplemented from Kross::Api::Object.

const QString EventSlot::getClassName (  )  const [virtual]

See also:
Kross::Api::Object::getClassName()

Reimplemented from Kross::Api::Callable.

Definition at line 41 of file eventslot.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys