QPy
Python-Qt dynamic bindings
 All Classes Namespaces Files Functions
Public Member Functions
qpy::QVariantToPyObject Struct Reference

Abstract base class to create converters for Qt to Python data translation. More...

#include <PyQVariantToPyObject.h>

Inheritance diagram for qpy::QVariantToPyObject:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

Constructor

Parameters:
foset to true if instance to be deleted by client code

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions