![]() |
Qt 6.x
The Qt SDK
|
#include <qquickwindow_p.h>
Inheritance diagram for QQuickWindowQObjectCleanupJob:
Collaboration diagram for QQuickWindowQObjectCleanupJob:Public Member Functions | |
| QQuickWindowQObjectCleanupJob (QObject *o) | |
| void | run () override |
| Implement this pure virtual function in your subclass. | |
Public Member Functions inherited from QRunnable | |
| virtual void | run ()=0 |
| Implement this pure virtual function in your subclass. | |
| constexpr | QRunnable () noexcept=default |
| Constructs a QRunnable. | |
| virtual | ~QRunnable () |
| QRunnable virtual destructor. | |
| bool | autoDelete () const |
Returns true is auto-deletion is enabled; false otherwise. | |
| void | setAutoDelete (bool autoDelete) |
| Enables auto-deletion if autoDelete is true; otherwise auto-deletion is disabled. | |
| template<typename Callable , if_callable< Callable > = true> | |
| QGenericRunnable (Callable &&c) | |
| ~QGenericRunnable () override | |
| void | run () override |
Static Public Member Functions | |
| static void | schedule (QQuickWindow *window, QObject *object) |
Static Public Member Functions inherited from QRunnable | |
| template<typename Callable , if_callable< Callable > = true> | |
| static QRunnable * | create (Callable &&functionToRun) |
| static QRunnable * | create (std::nullptr_t)=delete |
Public Attributes | |
| QObject * | object |
Additional Inherited Members | |
Public Types inherited from QRunnable | |
| template<typename Callable > | |
| using | if_callable = std::enable_if_t< std::is_invocable_r_v< void, Callable >, bool > |
Definition at line 268 of file qquickwindow_p.h.
|
inline |
Definition at line 271 of file qquickwindow_p.h.
|
inlineoverridevirtual |
Implement this pure virtual function in your subclass.
Implements QRunnable.
Definition at line 272 of file qquickwindow_p.h.
References object.
|
inlinestatic |
Definition at line 274 of file qquickwindow_p.h.
References Q_ASSERT, and window().
Referenced by QQuickCanvasItem::~QQuickCanvasItem(), QQuickImage::~QQuickImage(), QQuickPaintedItem::~QQuickPaintedItem(), QQuickCanvasItem::releaseResources(), QQuickImage::releaseResources(), and QQuickPaintedItem::releaseResources().
Here is the call graph for this function:
Here is the caller graph for this function:| QObject* QQuickWindowQObjectCleanupJob::object |
Definition at line 273 of file qquickwindow_p.h.
Referenced by run().