PythonQt
|
Factory interface for C++ classes that can be wrapped by QObject objects. More...
#include <PythonQtCppWrapperFactory.h>
Public Member Functions | |
PythonQtCppWrapperFactory () | |
virtual | ~PythonQtCppWrapperFactory () |
virtual QObject * | create (const QByteArray &classname, void *ptr)=0 |
create a wrapper for the given object More... | |
Factory interface for C++ classes that can be wrapped by QObject objects.
To create your own factory, derive PythonQtCppWrapperFactory and implement the create() method. A factory can be added to PythonQt by PythonQt::addCppWrapperFactory().
Definition at line 56 of file PythonQtCppWrapperFactory.h.
|
inline |
Definition at line 60 of file PythonQtCppWrapperFactory.h.
|
inlinevirtual |
Definition at line 61 of file PythonQtCppWrapperFactory.h.
|
pure virtual |
create a wrapper for the given object