KBlankEffect Class Reference
#include <kscreensaver.h>
Inheritance diagram for KBlankEffect:

Detailed Description
Blanks a widget using various effects.Blanks a widget using various effects.
- Author:
- Martin R. Jones <mjones@kde.org>
Definition at line 94 of file kscreensaver.h.
Public Types | |
typedef void(KBlankEffect::*) | BlankEffect () |
Random = -1 | |
Blank = 0 | |
SweepRight | |
SweepDown | |
Blocks | |
MaximumEffects | |
enum | Effect { Random = -1, Blank = 0, SweepRight, SweepDown, Blocks, MaximumEffects } |
Signals | |
void | doneBlank () |
Public Member Functions | |
KBlankEffect (QObject *parent=0) | |
~KBlankEffect () | |
void | blank (QWidget *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 [] |
Member Function Documentation
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 140 of file kscreensaver.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 kscreensaver.h.
The documentation for this class was generated from the following files: