![]() |
CopperSpice API
1.8.1
|
Custom QDebug operators. More...
Public Methods | |
QDebugStateSaver (QDebug &dbg) | |
~QDebugStateSaver () | |
Saves the settings used by QDebug and restores the state when the QSebugStateSaver is destroyed.
QDebugStateSaver is typically used in the implementation of an operator<<() for debugging.
QDebugStateSaver::QDebugStateSaver | ( | QDebug & | dbg | ) |
Creates a QDebugStateSaver object which saves the settings currently used by dbg.
QDebugStateSaver::~QDebugStateSaver | ( | ) |
Destroys the current QDebugStateSaver object and restores the settings used when the QDebugStateSaver object was created.