itom
|
base class for PythonQtSignalMapper More...
#include <pythonQtSignalMapper.h>
base class for PythonQtSignalMapper
Since the class PythonQtSignalMapper needs to overwrite the method qt_metacall, which is automatically defined in the moc-file of any class having the Q_OBJECT macro, PythonQtSignalMapperBase has the Q_OBJECT macro defined such that the method qt_metacall is defined in its moc-file. The class PythonQtSignalMapper is then derived from PythonQtSignalMapperBase but has no Q_OBJECT macro defined. Then, no second moc-file is created and PythonQtSignalMapper can overwrite the method qt_metacall from PythonQtSignalMapperBase.
The base idea of this class has been taken from the project PythonQt, MeVis Medical Solutions AG, 28359 Bremen.