KDE PIM / Developers / API Docs / kmail

KCursorSaver Class Reference

sets a cursor and makes sure it's restored on destruction Create a KCursorSaver object when you want to set the cursor. More...

#include <kcursorsaver.h>

Inherits Qt.

List of all members.

Public Member Functions

Protected Member Functions


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.


Constructor & Destructor Documentation

KCursorSaver::KCursorSaver Qt::CursorShape  shape  )  [inline]
 

constructor taking QCursor shapes

KCursorSaver::KCursorSaver const KCursorSaver rhs  )  [inline]
 

copy constructor. The right side won't restore the cursor

KCursorSaver::~KCursorSaver  )  [inline]
 

restore the cursor


Member Function Documentation

void KCursorSaver::restoreCursor void   )  [inline]
 

call this to explitly restore the cursor


The documentation for this class was generated from the following file: