Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
HelloWorldTask Class Reference

[0] More...

+ Inheritance diagram for HelloWorldTask:
+ Collaboration diagram for HelloWorldTask:

Private Member Functions

void run () override
 Implement this pure virtual function in your subclass.
 

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>
 
- 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.
 
template<typename Callable , if_callable< Callable > = true>
 QGenericRunnable (Callable &&c)
 
 ~QGenericRunnable () override
 
void run () override
 
- 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

[0]

Definition at line 5 of file src_corelib_concurrent_qthreadpool.cpp.

Member Function Documentation

◆ run()

void HelloWorldTask::run ( )
inlineoverrideprivatevirtual

Implement this pure virtual function in your subclass.

Implements QRunnable.

Definition at line 7 of file src_corelib_concurrent_qthreadpool.cpp.

References QThread::currentThread(), and qDebug.

+ Here is the call graph for this function:

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