added "unlockAnimations" method.
svn path=/trunk/KDE/kdebase/workspace/; revision=1134598
This commit is contained in:
parent
1ecb757348
commit
1ea223f34c
2 changed files with 6 additions and 3 deletions
|
@ -90,8 +90,8 @@ namespace Oxygen
|
|||
if( e->timerId() != animationLockTimer_.timerId() )
|
||||
{ return QObject::timerEvent( e ); }
|
||||
|
||||
// stop veto
|
||||
animationLockTimer_.stop();
|
||||
// unlock
|
||||
unlockAnimations();
|
||||
|
||||
if( !isAnimated() )
|
||||
{
|
||||
|
|
|
@ -95,7 +95,6 @@ namespace Oxygen
|
|||
//!@name animation
|
||||
//@{
|
||||
|
||||
|
||||
//! returns true if animations are locked
|
||||
bool isLocked( void ) const
|
||||
{ return animationLockTimer_.isActive(); }
|
||||
|
@ -108,6 +107,10 @@ namespace Oxygen
|
|||
void lockAnimations( void )
|
||||
{ animationLockTimer_.start( lockTime_, this ); }
|
||||
|
||||
//! start lock animation timer
|
||||
void unlockAnimations( void )
|
||||
{ animationLockTimer_.stop(); }
|
||||
|
||||
//! start title transition animation
|
||||
void startAnimation( void )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue