![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlnotifierendpoint_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 | 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 |
| Callback | callbackType () const |
| QQmlNotifierEndpoint * | nextEndpoint () const |
| qintptr | sender () const |
| void | setSender (qintptr sender) |
| QObject * | senderAsObject () const |
| QQmlNotifier * | senderAsNotifier () const |
Friends | |
| class | QQmlData |
| class | QQmlNotifier |
| class | QQmlNotifyList |
Definition at line 33 of file qqmlnotifierendpoint_p.h.
| Enumerator | |
|---|---|
| None | |
| QQmlBoundSignal | |
| QQmlJavaScriptExpressionGuard | |
| QQmlVMEMetaObjectEndpoint | |
| QQmlUnbindableToUnbindableGuard | |
| QQmlUnbindableToBindableGuard | |
| QQmlDirtyReferenceObject | |
Definition at line 43 of file qqmlnotifierendpoint_p.h.
|
inline |
Definition at line 96 of file qqmlnotifierendpoint_p.h.
References QQmlNotifierEndpoint().
Referenced by QQmlNotifierEndpoint().
|
inline |
Definition at line 106 of file qqmlnotifierendpoint_p.h.
References disconnect().
|
inline |
Definition at line 70 of file qqmlnotifierendpoint_p.h.
|
inline |
Cancel any notifies that are in progress.
Definition at line 191 of file qqmlnotifierendpoint_p.h.
References isNotifying().
|
inline |
Definition at line 131 of file qqmlnotifierendpoint_p.h.
Referenced by ~QQmlNotifierEndpoint().
|
inline |
Definition at line 111 of file qqmlnotifierendpoint_p.h.
|
inline |
sourceSignal MUST be in the signal index range (see QObjectPrivate::signalIndex()). This is different from QMetaMethod::methodIndex().
Definition at line 120 of file qqmlnotifierendpoint_p.h.
|
inline |
Definition at line 126 of file qqmlnotifierendpoint_p.h.
References senderAsNotifier().
|
inline |
Returns true if a notify is in progress.
This means that the signal or QQmlNotifier that this endpoint 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 164 of file qqmlnotifierendpoint_p.h.
Referenced by cancelNotify().
|
inline |
Definition at line 71 of file qqmlnotifierendpoint_p.h.
|
inline |
Definition at line 201 of file qqmlnotifierendpoint_p.h.
|
inline |
Definition at line 220 of file qqmlnotifierendpoint_p.h.
Referenced by isConnected().
|
inline |
Definition at line 215 of file qqmlnotifierendpoint_p.h.
Definition at line 206 of file qqmlnotifierendpoint_p.h.
|
inline |
Definition at line 68 of file qqmlnotifierendpoint_p.h.
Definition at line 169 of file qqmlnotifierendpoint_p.h.
Definition at line 180 of file qqmlnotifierendpoint_p.h.
|
friend |
Definition at line 80 of file qqmlnotifierendpoint_p.h.
|
friend |
Definition at line 81 of file qqmlnotifierendpoint_p.h.
|
friend |
Definition at line 82 of file qqmlnotifierendpoint_p.h.