![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for WorkerDataEvent:
Collaboration diagram for WorkerDataEvent:Public Member Functions | |
| WorkerDataEvent (int workerId, const QByteArray &data) | |
| virtual | ~WorkerDataEvent () |
| int | workerId () const |
| QByteArray | data () const |
Public Member Functions inherited from QEvent | |
| QEvent (Type type) | |
| Constructs an event object of type type. | |
| virtual | ~QEvent () |
| Destroys the event. | |
| Type | type () const |
| Returns the event type. | |
| bool | spontaneous () const |
Returns true if the event originated outside the application (a system event); otherwise returns false. | |
| virtual void | setAccepted (bool accepted) |
| bool | isAccepted () const |
| void | accept () |
| Sets the accept flag of the event object, the equivalent of calling setAccepted(true). | |
| void | ignore () |
| Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). | |
| bool | isInputEvent () const noexcept |
| bool | isPointerEvent () const noexcept |
| bool | isSinglePointEvent () const noexcept |
| virtual QEvent * | clone () const |
| Creates and returns an identical copy of this event. | |
Additional Inherited Members | |
Static Public Member Functions inherited from QEvent | |
| static int | registerEventType (int hint=-1) noexcept |
Protected Member Functions inherited from QEvent | |
| QEvent (Type type, InputEventTag) | |
| QEvent (Type type, PointerEventTag) | |
| QEvent (Type type, SinglePointEventTag) | |
Protected Attributes inherited from QEvent | |
| quint16 | t |
Definition at line 35 of file qquickworkerscript.cpp.
| Enumerator | |
|---|---|
| WorkerData | |
Definition at line 38 of file qquickworkerscript.cpp.
| WorkerDataEvent::WorkerDataEvent | ( | int | workerId, |
| const QByteArray & | data | ||
| ) |
Definition at line 293 of file qquickworkerscript.cpp.
|
virtual |
Definition at line 298 of file qquickworkerscript.cpp.
| QByteArray WorkerDataEvent::data | ( | ) | const |
Definition at line 307 of file qquickworkerscript.cpp.
Referenced by QQuickWorkerScriptEnginePrivate::event(), and QQuickWorkerScript::event().
Here is the caller graph for this function:| int WorkerDataEvent::workerId | ( | ) | const |
Definition at line 302 of file qquickworkerscript.cpp.
Referenced by QQuickWorkerScriptEnginePrivate::event().
Here is the caller graph for this function: