Set the object meta object at the declaration time, not instanciation time.
This commit is contained in:
parent
35ab7bf679
commit
12bc3f5c12
4 changed files with 96 additions and 62 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue