File indexing completed on 2024-05-19 05:28:48
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Hugo Pereira Da Costa <hugo.pereira@free.fr> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "breezegenericdata.h" 0008 0009 namespace Breeze 0010 { 0011 //______________________________________________ 0012 GenericData::GenericData(QObject *parent, QObject *target, int duration) 0013 : AnimationData(parent, target) 0014 , _animation(new Animation(duration, this)) 0015 , _opacity(0) 0016 { 0017 setupAnimation(_animation, "opacity"); 0018 } 0019 0020 }