libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
signal_emitter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "qmlbind_global.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
32 
37  const char *signal_name, int argc, const qmlbind_value *const *argv);
38 
45 
50 
52 #ifdef __cplusplus
53 }
54 #endif
an opaque struct mainly used as self argument in the methods defined in qmlbind_signal_emitter.
Definition: qmlbind_global.h:69
an opaque struct mainly used as self argument in the methods defined in qmlbind_value.
Definition: qmlbind_global.h:64
QMLBIND_API qmlbind_signal_emitter * qmlbind_signal_emitter_new(const qmlbind_value *wrapper)
Creates a new emitter that emits signals via the provided wrapper.
Contains all struct definitions of libqmlbind.
QMLBIND_API qmlbind_engine * qmlbind_signal_emitter_get_engine(const qmlbind_signal_emitter *self)
returns this signal emitter's associated engine.
QMLBIND_API void qmlbind_signal_emitter_release(qmlbind_signal_emitter *self)
destroys this signal emitter.
an opaque struct mainly used as self argument in the methods defined in qmlbind_engine.
Definition: qmlbind_global.h:60
QMLBIND_API void qmlbind_signal_emitter_emit(qmlbind_signal_emitter *self, const char *signal_name, int argc, const qmlbind_value *const *argv)
emits the signal signal_name with argc arguments in argv.