CopperSpice API
1.9.2
|
Custom QDebug operators. More...
Public Methods | |
QDebugStateSaver (QDebug &debug) | |
~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<<() method.
QDebugStateSaver::QDebugStateSaver | ( | QDebug & | debug | ) |
Creates a QDebugStateSaver object which saves the settings currently used by debug.
QDebugStateSaver::~QDebugStateSaver | ( | ) |
Destroys the current QDebugStateSaver object and restores the settings used when the QDebugStateSaver object was created.