Abstract base class to create converters for Qt to Python data translation. More...
#include <PyQVariantToPyObject.h>
Public Member Functions | |
QVariantToPyObject (bool fo) | |
bool | ForeignOwned () const |
Return ownership info. | |
virtual PyObject * | Create (const QVariant &) const =0 |
Create PyObject from QVariant. | |
virtual | ~QVariantToPyObject () |
Virtual destructor. |
Abstract base class to create converters for Qt to Python data translation.
Client code is required to specify if ownership of instances belongs to QPy or not.
qpy::QVariantToPyObject::QVariantToPyObject | ( | bool | fo | ) | [inline] |
Constructor
fo | set to true if instance to be deleted by client code |