aerothemeplasma/kwin/decoration/breeze-v5.93.0/kstyle/animations/breezegenericdata.cpp

21 lines
458 B
C++
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "breezegenericdata.h"
namespace Breeze
{
//______________________________________________
2024-08-09 01:20:25 +00:00
GenericData::GenericData(QObject *parent, QObject *target, int duration)
: AnimationData(parent, target)
, _animation(new Animation(duration, this))
, _opacity(0)
{
setupAnimation(_animation, "opacity");
}
}