DOtherSide
0.7.1
C language library for creating bindings for the Qt QML language
|
Functions related to the QQmlContext class. More...
Functions | |
DOS_API char * | dos_qqmlcontext_baseUrl (const DosQQmlContext *vptr) |
Calls the QQmlContext::baseUrl function. More... | |
DOS_API void | dos_qqmlcontext_setcontextproperty (DosQQmlContext *vptr, const char *name, DosQVariant *value) |
Sets a property inside the context. More... | |
Functions related to the QQmlContext class.
DOS_API char* dos_qqmlcontext_baseUrl | ( | const DosQQmlContext * | vptr | ) |
Calls the QQmlContext::baseUrl function.
DOS_API void dos_qqmlcontext_setcontextproperty | ( | DosQQmlContext * | vptr, |
const char * | name, | ||
DosQVariant * | value | ||
) |
Sets a property inside the context.
vptr | The DosQQmlContext |
name | The property name. The string is owned by the caller thus it will not be deleted by the library |
value | The property value. The DosQVariant is owned by the caller thus it will not be deleted by the library |