9#include <kguiaddons_export.h>
13class KCursorSaverPrivate;
49 KCursorSaverPrivate *
const d;
Class to temporarily set a mouse cursor and restore the previous one on destruction.
Definition kcursorsaver.h:30
~KCursorSaver()
restore the cursor
KCursorSaver(KCursorSaver &&other)
Move-constructs a KCursorSaver from other.
void restoreCursor()
call this to explicitly restore the cursor
KCursorSaver(Qt::CursorShape shape)
Creates a KCursorSaver, setting the mouse cursor to shape.