lib
Kross::Api::EventSignal Class Reference
#include <eventsignal.h>
Inheritance diagram for Kross::Api::EventSignal:

Detailed Description
Each Qt signal and slot connection between a QObject instance and a functionname is represented with a EventSignal and handled by EventManager.
Definition at line 41 of file eventsignal.h.
Public Types | |
typedef KSharedPtr< EventSignal > | Ptr |
Public Member Functions | |
EventSignal (const QString &name, QObject *sender, QCString signal) | |
virtual | ~EventSignal () |
virtual const QString | getClassName () const |
virtual Object::Ptr | call (const QString &name, KSharedPtr< List > arguments) |
Member Typedef Documentation
typedef KSharedPtr<EventSignal> Kross::Api::EventSignal::Ptr |
Shared pointer to implement reference-counting.
Reimplemented from Kross::Api::Callable.
Definition at line 48 of file eventsignal.h.
Constructor & Destructor Documentation
EventSignal::EventSignal | ( | const QString & | name, | |
QObject * | sender, | |||
QCString | signal | |||
) |
EventSignal::~EventSignal | ( | ) | [virtual] |
Member Function Documentation
const QString EventSignal::getClassName | ( | ) | const [virtual] |
Return the class name.
This could be something like "Kross::Api::Callable" for this object. The value is mainly used for display purposes.
- Returns:
- The name of this class.
Reimplemented from Kross::Api::Callable.
Definition at line 41 of file eventsignal.cpp.
Object::Ptr EventSignal::call | ( | const QString & | name, | |
KSharedPtr< List > | arguments | |||
) | [virtual] |
Pass a call to the object and evaluated it recursive down the object-hierachy.
Objects like Class are able to handle call's by just implementing this function. If the call is done the called() method will be executed recursive from bottom up the call hierachy.
- Exceptions:
-
TypeException if the object or the name is not callable.
- Parameters:
-
name Each call has a name that says what should be called. In the case of a Class the name is the functionname. arguments The list of arguments passed to the call.
- Returns:
- The call-result as Object::Ptr instance or NULL if the call has no result.
Reimplemented from Kross::Api::Object.
Definition at line 46 of file eventsignal.cpp.
The documentation for this class was generated from the following files: