diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-03 17:04:37 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:47:56 -0300 |
commit | 8fb60373627f5d9978df2b9f38d0180f5897477a (patch) | |
tree | dbc18e59d3fc6e82a535bac4a5a82e72c47a38d5 /libpyside/pyside.h | |
parent | a29f511f6ded054550feea317f089ac77b6b4994 (diff) |
Set the object meta object at the declaration time, not instanciation time.
Diffstat (limited to 'libpyside/pyside.h')
-rw-r--r-- | libpyside/pyside.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpyside/pyside.h b/libpyside/pyside.h index fe9ce3a6e..d84040d55 100644 --- a/libpyside/pyside.h +++ b/libpyside/pyside.h @@ -29,6 +29,8 @@ #include <QHash> #include <QList> +class SbkObjectType; + namespace PySide { @@ -75,6 +77,8 @@ template<typename T> struct initQtMetaType<T, false> { }; +PYSIDE_API void initDynamicMetaObject(SbkObjectType* type, const QMetaObject* base); +PYSIDE_API void initQObjectSubType(SbkObjectType* type, PyObject* args, PyObject* kwds); typedef void (*CleanupFunction)(void); |