DOtherSide  0.7.1
C language library for creating bindings for the Qt QML language
Data Fields
QmlRegisterType Struct Reference

The data needed for registering a custom type in the QML environment. More...

#include <DOtherSideTypes.h>

Data Fields

int major
 The Module major version.
 
int minor
 The Module minor version.
 
const char * uri
 The Module uri.
 
const char * qml
 The type name to be used in QML files.
 
DosQMetaObjectstaticMetaObject
 The type QMetaObject.
 
CreateDObject createDObject
 The callback invoked from QML when this type should be created.
 
DeleteDObject deleteDObject
 The callback invoked from QML when this type should be deleted.
 

Detailed Description

The data needed for registering a custom type in the QML environment.

This is used from dos_qdeclarative_qmlregistertype() and dos_qdeclarative_qmlregistersingletontype() calls.

See also
dos_qdeclarative_qmlregistertype()
dos_qdeclarative_qmlregistersingletontype()
Note
All string and objects are considered to be owned by the caller thus they'll not be freed

The documentation for this struct was generated from the following file: