Add support for extension into PySide properties.

This is used by PySide implementation of QDeclarativeListProperty.
This commit is contained in:
Hugo Parente Lima 2010-12-08 15:06:52 -02:00
commit 1464dc1022
6 changed files with 109 additions and 55 deletions

View file

@ -24,6 +24,8 @@
#define PYSIDE_QPROPERTY_P_H
#include <Python.h>
#include <QMetaObject>
#include "pysideproperty.h"
struct PySideProperty;
@ -33,6 +35,7 @@ extern "C"
struct PySidePropertyPrivate {
char* typeName;
PyObject* type;
PySide::Property::MetaCallHandler metaCallHandler;
PyObject* fget;
PyObject* fset;
PyObject* freset;
@ -46,6 +49,7 @@ struct PySidePropertyPrivate {
bool user;
bool constant;
bool final;
void* userData;
};
} // extern "C"