QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CallableWithStateWithPromise Struct Reference

Public Member Functions

void setNewState (QPromise< int > &, int newState)
 
void operator() (QPromise< int > &promise, int newState)
 

Static Public Member Functions

static constexpr int defaultState ()
 

Public Attributes

int state = defaultState()
 

Detailed Description

Definition at line 1053 of file tst_qtconcurrentrun.cpp.

Member Function Documentation

◆ defaultState()

static constexpr int CallableWithStateWithPromise::defaultState ( )
inlinestaticconstexpr

Definition at line 1058 of file tst_qtconcurrentrun.cpp.

◆ operator()()

void CallableWithStateWithPromise::operator() ( QPromise< int > &  promise,
int  newState 
)
inline

Definition at line 1056 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ setNewState()

void CallableWithStateWithPromise::setNewState ( QPromise< int > &  ,
int  newState 
)
inline

Definition at line 1055 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ state

int CallableWithStateWithPromise::state = defaultState()

Definition at line 1059 of file tst_qtconcurrentrun.cpp.


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