![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlnotifier_p.h>
Public Types | |
| enum | Callback { None = 0 , QQmlBoundSignal = 1 , QQmlJavaScriptExpressionGuard = 2 , QQmlVMEMetaObjectEndpoint = 3 , QQmlUnbindableToUnbindableGuard = 4 , QQmlUnbindableToBindableGuard = 5 , QQmlDirtyReferenceObject = 6 } |
Public Member Functions | |
| QQmlNotifierEndpoint (Callback callback) | |
| ~QQmlNotifierEndpoint () | |
| bool | isConnected () const |
| bool | isConnected (QObject *source, int sourceSignal) const |
| bool | isConnected (QQmlNotifier *) const |
| void | connect (QObject *source, int sourceSignal, QQmlEngine *engine, bool doNotify=true) |
| void | connect (QQmlNotifier *) |
| void | disconnect () |
| bool | isNotifying () const |
| Returns true if a notify is in progress. | |
| void | startNotifying (qintptr *originalSenderPtr) |
| void | stopNotifying (qintptr *originalSenderPtr) |
| void | cancelNotify () |
| Cancel any notifies that are in progress. | |
| int | signalIndex () const |
| qintptr | sender () const |
| void | setSender (qintptr sender) |
| QObject * | senderAsObject () const |
| QQmlNotifier * | senderAsNotifier () const |
Friends | |
| class | QQmlData |
| class | QQmlNotifier |
Definition at line 46 of file qqmlnotifier_p.h.
| Enumerator | |
|---|---|
| None | |
| QQmlBoundSignal | |
| QQmlJavaScriptExpressionGuard | |
| QQmlVMEMetaObjectEndpoint | |
| QQmlUnbindableToUnbindableGuard | |
| QQmlUnbindableToBindableGuard | |
| QQmlDirtyReferenceObject | |
Definition at line 55 of file qqmlnotifier_p.h.
|
inline |
Definition at line 130 of file qqmlnotifier_p.h.
References QQmlNotifierEndpoint().
Referenced by QQmlNotifierEndpoint().
|
inline |
Definition at line 135 of file qqmlnotifier_p.h.
References disconnect().
|
inline |
Cancel any notifies that are in progress.
Definition at line 229 of file qqmlnotifier_p.h.
References isNotifying().
| void QQmlNotifierEndpoint::connect | ( | QObject * | source, |
| int | sourceSignal, | ||
| QQmlEngine * | engine, | ||
| bool | doNotify = true ) |
sourceSignal MUST be in the signal index range (see QObjectPrivate::signalIndex()). This is different from QMetaMethod::methodIndex().
Definition at line 87 of file qqmlnotifier.cpp.
References disconnect().
|
inline |
Definition at line 160 of file qqmlnotifier_p.h.
|
inline |
Definition at line 171 of file qqmlnotifier_p.h.
Referenced by ~QQmlNotifierEndpoint(), and connect().
|
inline |
Definition at line 140 of file qqmlnotifier_p.h.
|
inline |
sourceSignal MUST be in the signal index range (see QObjectPrivate::signalIndex()). This is different from QMetaMethod::methodIndex().
Definition at line 149 of file qqmlnotifier_p.h.
|
inline |
Definition at line 155 of file qqmlnotifier_p.h.
|
inline |
Returns true if a notify is in progress.
This means that the signal or QQmlNotifier that this endpoing is connected to has been triggered, but this endpoint's callback has not yet been called.
An in progress notify can be cancelled by calling cancelNotify.
Definition at line 202 of file qqmlnotifier_p.h.
Referenced by cancelNotify().
|
inline |
Definition at line 239 of file qqmlnotifier_p.h.
|
inline |
Definition at line 258 of file qqmlnotifier_p.h.
|
inline |
Definition at line 253 of file qqmlnotifier_p.h.
Definition at line 244 of file qqmlnotifier_p.h.
|
inline |
Definition at line 82 of file qqmlnotifier_p.h.
Definition at line 207 of file qqmlnotifier_p.h.
Definition at line 218 of file qqmlnotifier_p.h.
|
friend |
Definition at line 91 of file qqmlnotifier_p.h.
|
friend |
Definition at line 92 of file qqmlnotifier_p.h.