messageviewer
#include <kcursorsaver.h>
Public Member Functions | |
KCursorSaver (Qt::CursorShape shape) | |
KCursorSaver (const KCursorSaver &rhs) | |
~KCursorSaver () | |
void | restoreCursor (void) |
Protected Member Functions | |
void | operator= (const KCursorSaver &rhs) |
Detailed Description
sets a cursor and makes sure it's restored on destruction Create a KCursorSaver object when you want to set the cursor.
As soon as it gets out of scope, it will restore the original cursor.
Definition at line 16 of file kcursorsaver.h.
Constructor & Destructor Documentation
|
inlineexplicit |
constructor taking QCursor shapes
Definition at line 20 of file kcursorsaver.h.
|
inline |
copy constructor. The right side won't restore the cursor
Definition at line 26 of file kcursorsaver.h.
|
inline |
restore the cursor
Definition at line 31 of file kcursorsaver.h.
Member Function Documentation
|
inlineprotected |
Definition at line 43 of file kcursorsaver.h.
|
inline |
call this to explitly restore the cursor
Definition at line 37 of file kcursorsaver.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.