#include <QThread.h>
Inheritance diagram for FX::QThread_DTHold:
This little helper class works similarly to FX::QMtxHold in disabling thread termination on construction and disabling it on destruction. Since FX::QThread::disableTermination() works by a reference count this works nicely. You can use undo() and redo() if needed.
Definition at line 1164 of file QThread.h.
Public Member Functions | |
QThread_DTHold (QThread *t=QThread::current()) | |
void | undo () |
void | redo () |