FX::QThread_DTHold Class Reference

#include <QThread.h>

Inheritance diagram for FX::QThread_DTHold:

FX::Generic::DoUndo< obj, doaddr, undoaddr > List of all members.

Detailed Description

Wraps thread termination disables in an exception-proof fashion.

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 ()


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:46 2009 for TnFOX by doxygen v1.4.7