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

Contains all methods defined on qmlbind_engine. More...

#include "qmlbind_global.h"

Go to the source code of this file.

Functions

QMLBIND_API qmlbind_engineqmlbind_engine_new ()
 Create a new QQmlEngine. More...
 
QMLBIND_API void qmlbind_engine_release (qmlbind_engine *self)
 Destroys the QQmlEngine. More...
 
QMLBIND_API qmlbind_valueqmlbind_engine_eval (qmlbind_engine *self, const char *str, const char *fileName, int lineNumber)
 Evaluates program, using lineNumber as the base line number, and returns the result of the evaluation. More...
 
QMLBIND_API qmlbind_valueqmlbind_engine_get_global_object (const qmlbind_engine *self)
 Returns this engine's Global Object. More...
 
QMLBIND_API qmlbind_valueqmlbind_engine_new_object (qmlbind_engine *self)
 Creates a JavaScript object of class Object. More...
 
QMLBIND_API qmlbind_valueqmlbind_engine_new_array (qmlbind_engine *self, int length)
 Creates a JavaScript object of class Array with the given length. More...
 
QMLBIND_API qmlbind_valueqmlbind_engine_new_wrapper (qmlbind_engine *self, const qmlbind_metaclass *metaclass, qmlbind_client_object *object)
 Creates a JavaScript object that wraps the given object. More...
 
QMLBIND_API void qmlbind_engine_add_import_path (qmlbind_engine *self, const char *path)
 Adds path as a directory where the engine searches for installed modules in a URL-based directory structure. More...
 
QMLBIND_API void qmlbind_engine_collect_garbage (qmlbind_engine *self)
 Runs the garbage collector. More...
 

Detailed Description

Contains all methods defined on qmlbind_engine.