KDEUI
kfadewidgeteffect.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KFADEWIDGETEFFECT_H
00022 #define KFADEWIDGETEFFECT_H
00023
00024 #include <kdeui_export.h>
00025 #include <QtGui/QWidget>
00026
00027 class KFadeWidgetEffectPrivate;
00028
00048 class KDEUI_EXPORT KFadeWidgetEffect : public QWidget
00049 {
00050 Q_OBJECT
00051 Q_DECLARE_PRIVATE(KFadeWidgetEffect)
00052 public:
00059 KFadeWidgetEffect(QWidget *destWidget);
00060
00066 ~KFadeWidgetEffect();
00067
00075 void start(int duration = 250);
00076
00077 protected:
00081 void paintEvent(QPaintEvent *);
00082
00086 KFadeWidgetEffectPrivate *const d_ptr;
00087
00088 private:
00089 Q_PRIVATE_SLOT(d_func(), void finished())
00090 };
00091
00092 #endif // KFADEWIDGETEFFECT_H