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
QQmlXmlListModelQueryRunnable Class Reference

#include <qqmlxmllistmodel_p.h>

Inheritance diagram for QQmlXmlListModelQueryRunnable:
Collaboration diagram for QQmlXmlListModelQueryRunnable:

Public Member Functions

 QQmlXmlListModelQueryRunnable (QQmlXmlListModelQueryJob &&job)
void run () override
 Implement this pure virtual function in your subclass.
QFuture< QQmlXmlListModelQueryResultfuture () const
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.

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>
Static Public Member Functions inherited from QRunnable
template<typename Callable, if_callable< Callable > = true>
static QRunnablecreate (Callable &&functionToRun)
static QRunnablecreate (std::nullptr_t)=delete

Detailed Description

Definition at line 198 of file qqmlxmllistmodel_p.h.

Constructor & Destructor Documentation

◆ QQmlXmlListModelQueryRunnable()

QQmlXmlListModelQueryRunnable::QQmlXmlListModelQueryRunnable ( QQmlXmlListModelQueryJob && job)
explicit

Definition at line 805 of file qqmlxmllistmodel.cpp.

Member Function Documentation

◆ future()

QFuture< QQmlXmlListModelQueryResult > QQmlXmlListModelQueryRunnable::future ( ) const

Definition at line 823 of file qqmlxmllistmodel.cpp.

◆ run()

void QQmlXmlListModelQueryRunnable::run ( )
overridevirtual

Implement this pure virtual function in your subclass.

Implements QRunnable.

Definition at line 811 of file qqmlxmllistmodel.cpp.


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