DOtherSide  0.7.1
C language library for creating bindings for the Qt QML language
Functions
QDeclarative

Functions related to the QDeclarative module. More...

Functions

DOS_API int dos_qdeclarative_qmlregistertype (const QmlRegisterType *qmlRegisterType)
 Register a type in order to be instantiable from QML. More...
 
DOS_API int dos_qdeclarative_qmlregistersingletontype (const QmlRegisterType *qmlRegisterType)
 Register a singleton type in order to be accessible from QML. More...
 

Detailed Description

Functions related to the QDeclarative module.

Function Documentation

◆ dos_qdeclarative_qmlregistersingletontype()

DOS_API int dos_qdeclarative_qmlregistersingletontype ( const QmlRegisterType qmlRegisterType)

Register a singleton type in order to be accessible from QML.

Returns
An integer value that represents the registration ID in the
Note
The qmlRegisterType is owned by the caller thus it will not be freed

◆ dos_qdeclarative_qmlregistertype()

DOS_API int dos_qdeclarative_qmlregistertype ( const QmlRegisterType qmlRegisterType)

Register a type in order to be instantiable from QML.

Returns
An integer value that represents the registration ID in the qml environment
Note
The qmlRegisterType is owned by the caller thus it will not be freed