Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickWindowQObjectCleanupJob Class Reference

#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
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.

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 QRunnablecreate (Callable &&functionToRun)
static QRunnablecreate (std::nullptr_t)=delete

Public Attributes

QObjectobject

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>

Detailed Description

Definition at line 291 of file qquickwindow_p.h.

Constructor & Destructor Documentation

◆ QQuickWindowQObjectCleanupJob()

QQuickWindowQObjectCleanupJob::QQuickWindowQObjectCleanupJob ( QObject * o)
inline

Definition at line 294 of file qquickwindow_p.h.

Member Function Documentation

◆ run()

void QQuickWindowQObjectCleanupJob::run ( )
inlineoverridevirtual

Implement this pure virtual function in your subclass.

Implements QRunnable.

Definition at line 295 of file qquickwindow_p.h.

◆ schedule()

void QQuickWindowQObjectCleanupJob::schedule ( QQuickWindow * window,
QObject * object )
inlinestatic

Definition at line 297 of file qquickwindow_p.h.

Member Data Documentation

◆ object

QObject* QQuickWindowQObjectCleanupJob::object

Definition at line 296 of file qquickwindow_p.h.


The documentation for this class was generated from the following file: