5#ifndef QQMLNOTIFIER_P_H
6#define QQMLNOTIFIER_P_H
19#include <private/qqmlnotifierendpoint_p.h>
28 inline QQmlNotifier();
29 inline ~QQmlNotifier();
31 void connect(QQmlNotifierEndpoint *endpoint);
33 static void notify(QQmlData *ddata,
int notifierIndex);
36 friend class QQmlData;
37 friend class QQmlNotifierEndpoint;
38 friend class QQmlThreadNotifierProxyObject;
40 static void emitNotify(QQmlNotifierEndpoint *,
void **a);
41 QQmlNotifierEndpoint *endpoints =
nullptr;
44QQmlNotifier::QQmlNotifier()
48QQmlNotifier::~QQmlNotifier()
50 QQmlNotifierEndpoint *endpoint = endpoints;
52 QQmlNotifierEndpoint *n = endpoint;
62void QQmlNotifier::notify()
64 void *args[] = {
nullptr };
65 if (endpoints) emitNotify(endpoints, args);
68inline void QQmlNotifier::connect(QQmlNotifierEndpoint *endpoint)
70 endpoint->disconnect();
72 endpoint->next = endpoints;
74 endpoint->next->prev = &endpoint->next;
77 endpoint->prev = &endpoints;
78 endpoint->setSender(qintptr(
this));
Combined button and popup list for selecting options.
void QQmlBoundSignal_callback(QQmlNotifierEndpoint *e, void **a)
void QQmlJavaScriptExpressionGuard_callback(QQmlNotifierEndpoint *e, void **)
void QQmlUnbindableToUnbindableGuard_callback(QQmlNotifierEndpoint *, void **)
void QQmlVMEMetaObjectEndpoint_callback(QQmlNotifierEndpoint *, void **)
void QQmlUnbindableToBindableGuard_callback(QQmlNotifierEndpoint *, void **)
QT_BEGIN_NAMESPACE typedef void(* Callback)(QQmlNotifierEndpoint *, void **)
static Callback QQmlNotifier_callbacks[]
void QQmlDirtyReferenceObject_callback(QQmlNotifierEndpoint *e, void **)