SourceForge.net Logo
PythonQt
Public Member Functions | List of all members
PythonQtSignalReceiver Class Reference

receives all signals for one QObject More...

#include <PythonQtSignalReceiver.h>

Inheritance diagram for PythonQtSignalReceiver:
PythonQtSignalReceiverBase

Public Member Functions

 PythonQtSignalReceiver (QObject *obj)
 
 ~PythonQtSignalReceiver ()
 
bool addSignalHandler (const char *signal, PyObject *callable)
 add a signal handler More...
 
bool removeSignalHandler (const char *signal, PyObject *callable=NULL)
 remove a signal handler for given callable (or all callables on that signal if callable is NULL) More...
 
virtual int qt_metacall (QMetaObject::Call c, int id, void **arguments)
 we implement this method to simulate a number of slots that match the ids in _targets More...
 
- Public Member Functions inherited from PythonQtSignalReceiverBase
 PythonQtSignalReceiverBase (QObject *obj)
 

Detailed Description

receives all signals for one QObject

we derive from our base but do not declare the QObject macro because we want to reimplement qt_metacall only.

Definition at line 112 of file PythonQtSignalReceiver.h.

Constructor & Destructor Documentation

PythonQtSignalReceiver::PythonQtSignalReceiver ( QObject *  obj)
PythonQtSignalReceiver::~PythonQtSignalReceiver ( )

Member Function Documentation

bool PythonQtSignalReceiver::addSignalHandler ( const char *  signal,
PyObject callable 
)

add a signal handler

virtual int PythonQtSignalReceiver::qt_metacall ( QMetaObject::Call  c,
int  id,
void **  arguments 
)
virtual

we implement this method to simulate a number of slots that match the ids in _targets

bool PythonQtSignalReceiver::removeSignalHandler ( const char *  signal,
PyObject callable = NULL 
)

remove a signal handler for given callable (or all callables on that signal if callable is NULL)


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