QtBase  v6.3.1
Public Member Functions | Static Public Attributes | List of all members
SlowTask Class Reference
Inheritance diagram for SlowTask:
Inheritance graph
[legend]
Collaboration diagram for SlowTask:
Collaboration graph
[legend]

Public Member Functions

void run () override
 
- Public Member Functions inherited from QRunnable
constexpr QRunnable () noexcept=default
 
virtual ~QRunnable ()
 
bool autoDelete () const
 
void setAutoDelete (bool autoDelete)
 

Static Public Attributes

static QAtomicInt cancel
 

Additional Inherited Members

- Static Public Member Functions inherited from QRunnable
static QRunnablecreate (std::function< void()> functionToRun)
 

Detailed Description

Definition at line 826 of file tst_qtconcurrentrun.cpp.

Member Function Documentation

◆ run()

void SlowTask::run ( void  )
inlineoverridevirtual

Implement this pure virtual function in your subclass.

Implements QRunnable.

Definition at line 830 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ cancel

QAtomicInt SlowTask::cancel
static

Definition at line 829 of file tst_qtconcurrentrun.cpp.


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