21 #ifndef TDESCREENSAVER_H
22 #define TDESCREENSAVER_H
26 #include <tdelibs_export.h>
29 class KScreenSaverPrivate;
30 class KBlankEffectPrivate;
78 void embed( TQWidget *widget );
80 bool eventFilter( TQObject *o, TQEvent * );
83 KScreenSaverPrivate *d;
101 enum Effect { Random=-1, Blank=0, SweepRight, SweepDown, Blocks,
112 void blank( TQWidget *w, Effect effect=Random );
129 void blankSweepRight();
130 void blankSweepDown();
134 static BlankEffect effects[];
135 KBlankEffectPrivate *d;
Blanks a widget using various effects.
void doneBlank()
emitted when a blanking effect has completed.
void blank(TQWidget *w, Effect effect=Random)
Blank a widget using the specified effect.
Provides a TQWidget for a screensaver to draw into.