knode
KNode::Utilities::ScopedCursorOverride Class Reference
#include <scoped_cursor_override.h>
Public Member Functions | |
ScopedCursorOverride (Qt::CursorShape shape) | |
~ScopedCursorOverride () | |
void | restore () |
Detailed Description
This object change the application cursor to a given type and then restore the previous cursor when it goes out of scope.
- See also
- QApplication::setOverrideCursor()
Definition at line 36 of file scoped_cursor_override.h.
Constructor & Destructor Documentation
|
inlineexplicit |
Constructor: change the cursor shape to shape
.
Definition at line 42 of file scoped_cursor_override.h.
|
inline |
Destructor: restore the previous cursor shape.
Definition at line 51 of file scoped_cursor_override.h.
Member Function Documentation
|
inline |
Restore the previous cursor shape.
Definition at line 59 of file scoped_cursor_override.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.