libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
qmlbind_client_object Struct Reference

an opaque struct to represent a client-side object exposed to the metaobject system to libqmlbind. More...

#include <qmlbind_global.h>

Detailed Description

an opaque struct to represent a client-side object exposed to the metaobject system to libqmlbind.

In the client's implementation of qmlbind_client_callbacks' new_object(), you need to return a qmlbind_client_object pointer, which is then given back to you as object parameter in call_method(), get_property() and set_property(). With the qmlbind_client_callbacks, qmlbind_client_objects can be created, used and deleted from QML.

A qmlbind_client_object therefore is the rough equivalent of an instance of a QObject in code using libqmlbind.

See qmlbind_engine_new_wrapper() to create new qmlbind_value wrappers for a qmlbind_client_object, and qmlbind_value_get_qmlbind_client_object() to get the wrapped qmlbind_client_object back.


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