SourceForge.net Logo
PythonQt
Public Member Functions | List of all members
PythonQtCppWrapperFactory Class Referenceabstract

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

PythonQtCppWrapperFactory::PythonQtCppWrapperFactory ( )
inline

Definition at line 59 of file PythonQtCppWrapperFactory.h.

59 {};
virtual PythonQtCppWrapperFactory::~PythonQtCppWrapperFactory ( )
inlinevirtual

Definition at line 60 of file PythonQtCppWrapperFactory.h.

60 {};

Member Function Documentation

virtual QObject* PythonQtCppWrapperFactory::create ( const QByteArray &  classname,
void *  ptr 
)
pure virtual

create a wrapper for the given object


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