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

Interface for constructor objects which generate C++ values from PyObjects. More...

#include <PyQArgConstructor.h>

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

List of all members.

Public Member Functions

virtual QGenericArgument Create (PyObject *) const =0
 Create a QGenericArgument from Python values.
virtual ~QArgConstructor ()
 Virtual destructor.
virtual QArgConstructorClone () const =0
 Create a new instance of the current class.

Detailed Description

Interface for constructor objects which generate C++ values from PyObjects.

There shall be exactly one and only one constructor per C++ type. The QPy run-time (indirectly) invokes the QArgConstructor::Create() method whenever the invocation of a method of a QObject derived class instance is requested from Python code.


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