Added reconfigure() to dialog parent effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=869465
This commit is contained in:
Lucas Murray 2008-10-09 05:33:57 +00:00
parent 2f010abe87
commit 58b7eb858c
2 changed files with 6 additions and 0 deletions

View file

@ -26,6 +26,11 @@ namespace KWin
KWIN_EFFECT( dialogparent, DialogParentEffect )
DialogParentEffect::DialogParentEffect()
{
reconfigure( ReconfigureAll );
}
void DialogParentEffect::reconfigure( ReconfigureFlags )
{
// How long does it take for the effect to get it's full strength (in ms)
changeTime = animationTime( 200 );

View file

@ -39,6 +39,7 @@ class DialogParentEffect
{
public:
DialogParentEffect();
virtual void reconfigure( ReconfigureFlags );
virtual void prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time );
virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data );