![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for WorkerLoadEvent:
Collaboration diagram for WorkerLoadEvent:Public Member Functions | |
| WorkerLoadEvent (int workerId, const QUrl &url) | |
| int | workerId () const |
| QUrl | url () 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 51 of file qquickworkerscript.cpp.
| Enumerator | |
|---|---|
| WorkerLoad | |
Definition at line 54 of file qquickworkerscript.cpp.
| WorkerLoadEvent::WorkerLoadEvent | ( | int | workerId, |
| const QUrl & | url | ||
| ) |
Definition at line 312 of file qquickworkerscript.cpp.
| QUrl WorkerLoadEvent::url | ( | ) | const |
Definition at line 322 of file qquickworkerscript.cpp.
Referenced by QQuickWorkerScriptEnginePrivate::event().
Here is the caller graph for this function:| int WorkerLoadEvent::workerId | ( | ) | const |
Definition at line 317 of file qquickworkerscript.cpp.
Referenced by QQuickWorkerScriptEnginePrivate::event().
Here is the caller graph for this function: