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

Contains all methods defined on qmlbind_metaclass. More...

#include "qmlbind_global.h"

Go to the source code of this file.

Functions

QMLBIND_API qmlbind_metaclassqmlbind_metaclass_new (qmlbind_client_class *classObject, const char *className, qmlbind_client_callbacks callbacks)
 Creates a new qmlbind_metaclass. More...
 
QMLBIND_API void qmlbind_metaclass_release (qmlbind_metaclass *self)
 Destroys the qmlbind_metaclass.
 
QMLBIND_API void qmlbind_metaclass_add_method (qmlbind_metaclass *self, const char *name, int arity)
 Adds a new method name for the resulting metaobject with arity number of parameters. More...
 
QMLBIND_API void qmlbind_metaclass_add_signal (qmlbind_metaclass *self, const char *name, int arity, const char *const *params)
 Adds a new signal name for the resulting metaobject with arity number of parameters. More...
 
QMLBIND_API void qmlbind_metaclass_add_property (qmlbind_metaclass *self, const char *name, const char *notifierSignal)
 Adds a new property name for the resulting metaobject, which should emit notifierSignal on changes. More...
 
QMLBIND_API int qmlbind_metaclass_register (const qmlbind_metaclass *self, const char *uri, int versionMajor, int versionMinor, const char *qmlName)
 exposes the metaclass as qmlName component to QML type system. More...
 

Detailed Description

Contains all methods defined on qmlbind_metaclass.