Functions related to the QMetaObject class.
More...
Functions related to the QMetaObject class.
◆ dos_qmetaobject_create()
Create a new QMetaObject.
- Parameters
-
- Note
- The returned QMetaObject should be freed using dos_qmetaobject_delete().
- Attention
- The QMetaObject should live more than the QObject it refears to. Depending on the implementation usually the QMetaObject should be modeled as static variable So with a lifetime equals to the entire application
◆ dos_qmetaobject_delete()
Free the memory allocated for the given QMetaObject.
- Parameters
-
◆ dos_qmetaobject_invoke_method()
DOS_API bool dos_qmetaobject_invoke_method |
( |
DosQObject * |
context, |
|
|
void(*)(DosQObject *context, void *data) |
callback, |
|
|
void * |
data, |
|
|
DosQtConnectionType |
connection_type |
|
) |
| |
Invoke a function with the given data.
- Parameters
-
callback | The callback that will be called |
data | The data passed to the callback |
connection_type | The connection type |