libtdescreensaver
Public Types |
Signals |
Public Member Functions |
Protected Slots |
Protected Member Functions |
Protected Attributes |
Static Protected Attributes
KBlankEffect Class Reference
Blanks a widget using various effects. More...
#include <tdescreensaver.h>
Inheritance diagram for KBlankEffect:

Public Types | |
enum | Effect { Random = -1, Blank = 0, SweepRight, SweepDown, Blocks, MaximumEffects } |
typedef void(KBlankEffect::* | BlankEffect )() |
Signals | |
void | doneBlank () |
Public Member Functions | |
KBlankEffect (TQObject *parent=0) | |
void | blank (TQWidget *w, Effect effect=Random) |
Protected Slots | |
void | timeout () |
Protected Member Functions | |
void | finished () |
void | blankNormal () |
void | blankSweepRight () |
void | blankSweepDown () |
void | blankBlocks () |
Protected Attributes | |
KBlankEffectPrivate * | d |
Static Protected Attributes | |
static BlankEffect | effects [] |
Detailed Description
Blanks a widget using various effects.
Blanks a widget using various effects.
Definition at line 94 of file tdescreensaver.h.
Member Function Documentation
void KBlankEffect::blank | ( | TQWidget * | w, | |
Effect | effect = Random | |||
) |
Blank a widget using the specified effect.
Some blanking effects take some time, so you should connect to doneBlank() to know when the blanking is complete.
- Parameters:
-
w The widget to blank. effect The type of effect to use.
Definition at line 142 of file tdescreensaver.cpp.
void KBlankEffect::doneBlank | ( | ) | [signal] |
emitted when a blanking effect has completed.
Member Data Documentation
KBlankEffect::BlankEffect KBlankEffect::effects [static, protected] |
Initial value:
{ &KBlankEffect::blankNormal, &KBlankEffect::blankSweepRight, &KBlankEffect::blankSweepDown, &KBlankEffect::blankBlocks }
Definition at line 134 of file tdescreensaver.h.
The documentation for this class was generated from the following files: