1 #ifndef _PYTHONQTCPPWRAPPERFACTORY_H
2 #define _PYTHONQTCPPWRAPPERFACTORY_H
64 virtual QObject*
create(
const QByteArray& classname,
void *ptr) = 0;
79 virtual PyObject*
wrap(
const QByteArray& classname,
void *ptr) = 0;
Factory interface for C++ classes that can be wrapped by QObject objects.
virtual QObject * create(const QByteArray &classname, void *ptr)=0
create a wrapper for the given object
PythonQtCppWrapperFactory()
virtual ~PythonQtCppWrapperFactory()
virtual ~PythonQtForeignWrapperFactory()
virtual PyObject * wrap(const QByteArray &classname, void *ptr)=0
virtual void * unwrap(const QByteArray &classname, PyObject *object)=0
PythonQtForeignWrapperFactory()