libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
Functions
component.h File Reference

Contains all methods defined on qmlbind_component. More...

#include "qmlbind_global.h"

Go to the source code of this file.

Functions

QMLBIND_API qmlbind_componentqmlbind_component_new (qmlbind_engine *engine)
 Create a new qmlbind_component with no data. More...
 
QMLBIND_API void qmlbind_component_release (qmlbind_component *self)
 Destroys the qmlbind_component. More...
 
QMLBIND_API void qmlbind_component_load_path (qmlbind_component *self, const char *path)
 Sets the qmlbind_component to use the QML code loaded from the provided file path. More...
 
QMLBIND_API void qmlbind_component_load_url (qmlbind_component *self, const char *url)
 Sets the qmlbind_component to use the QML code loaded from the provided URL. More...
 
QMLBIND_API void qmlbind_component_set_data (qmlbind_component *self, const char *data, const char *path)
 
QMLBIND_API qmlbind_stringqmlbind_component_get_error_string (qmlbind_component *self)
 Returns a human-readable description of any error. More...
 
QMLBIND_API qmlbind_valueqmlbind_component_create (qmlbind_component *self)
 Create an object instance from this component. Returns a nullptr if creation failed. More...
 

Detailed Description

Contains all methods defined on qmlbind_component.