akregator/src

Akregator::KCursorSaver Class Reference

#include <kcursorsaver.h>

Inherits TQt.

Public Member Functions

 KCursorSaver (TQt::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 17 of file kcursorsaver.h.

Constructor & Destructor Documentation

◆ KCursorSaver() [1/2]

Akregator::KCursorSaver::KCursorSaver ( TQt::CursorShape  shape)
inline

constructor taking TQCursor shapes

Definition at line 21 of file kcursorsaver.h.

◆ KCursorSaver() [2/2]

Akregator::KCursorSaver::KCursorSaver ( const KCursorSaver rhs)
inline

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

Definition at line 27 of file kcursorsaver.h.

◆ ~KCursorSaver()

Akregator::KCursorSaver::~KCursorSaver ( )
inline

restore the cursor

Definition at line 32 of file kcursorsaver.h.

Member Function Documentation

◆ restoreCursor()

void Akregator::KCursorSaver::restoreCursor ( void  )
inline

call this to explitly restore the cursor

Definition at line 38 of file kcursorsaver.h.


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