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

Abstract base class for constructing Python to Qt data converters. More...

#include <PyObjectToQVariant.h>

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

List of all members.

Public Member Functions

 PyObjectToQVariant (bool fo)
bool ForeignOwned () const
 Return ownership.
virtual QVariant Create (PyObject *) const =0
 Create QVariant from PyObject.
virtual ~PyObjectToQVariant ()
 Virtual destructor.

Detailed Description

Abstract base class for constructing Python to Qt data converters.

Client code is required to specify if instances are owned by the client code itself or if ownership is to be transferred to the QPy run-time.


Constructor & Destructor Documentation

Constructor

Parameters:
foSet to true if foreign owned, i.e. if it is destroyed by client code

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