kmail
KCursorSaver Class Reference
#include <kcursorsaver.h>
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 13 of file 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) |
Constructor & Destructor Documentation
KCursorSaver::KCursorSaver | ( | Qt::CursorShape | shape | ) | [inline] |
KCursorSaver::KCursorSaver | ( | const KCursorSaver & | rhs | ) | [inline] |
copy constructor. The right side won't restore the cursor
Definition at line 23 of file kcursorsaver.h.
KCursorSaver::~KCursorSaver | ( | ) | [inline] |
Member Function Documentation
void KCursorSaver::restoreCursor | ( | void | ) | [inline] |
The documentation for this class was generated from the following file: