• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • MessageViewer
  • KCursorSaver
Public Member Functions | Protected Member Functions | List of all members
MessageViewer::KCursorSaver Class Reference

#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

MessageViewer::KCursorSaver::KCursorSaver ( Qt::CursorShape  shape)
inlineexplicit

constructor taking QCursor shapes

Definition at line 20 of file kcursorsaver.h.

MessageViewer::KCursorSaver::KCursorSaver ( const KCursorSaver &  rhs)
inline

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

Definition at line 26 of file kcursorsaver.h.

MessageViewer::KCursorSaver::~KCursorSaver ( )
inline

restore the cursor

Definition at line 31 of file kcursorsaver.h.

Member Function Documentation

void MessageViewer::KCursorSaver::operator= ( const KCursorSaver &  rhs)
inlineprotected

Definition at line 43 of file kcursorsaver.h.

void MessageViewer::KCursorSaver::restoreCursor ( void  )
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:
  • kcursorsaver.h
This file is part of the KDE documentation.
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.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal