Unsolved What is QThread::loopLevel()?
-
Hi, while browsing through the documentation of
QThread
I came acrossint QThread::loopLevel() const
, the only explanation for it is: Returns the current event loop level for the thread. What does this return value mean? I tried searching for it but there is no mention of 'Loop Level' (or any kind of Level) inQEventLoop
orQEvent
class. -
Returns the number of event loops running in that thread.
QThread::exec()
spawns an event loop, if you then create otherQEventLoop
s in this thread andexec()
them then this count will increase