* take a qobject parent
* the dtor is implemented, not pure virt svn path=/trunk/KDE/kdelibs/; revision=1038328
This commit is contained in:
parent
28e7a91ff2
commit
27dbf07aec
@ -26,8 +26,9 @@ namespace Plasma
|
||||
{
|
||||
|
||||
|
||||
AbstractAnimation::AbstractAnimation()
|
||||
: d(new AbstractAnimationPrivate)
|
||||
AbstractAnimation::AbstractAnimation(QObject *parent)
|
||||
: QObject(parent),
|
||||
d(new AbstractAnimationPrivate)
|
||||
{
|
||||
d->easingCurve = QEasingCurve::Linear;
|
||||
}
|
||||
|
@ -54,8 +54,8 @@ class PLASMA_EXPORT AbstractAnimation : public QObject
|
||||
|
||||
public:
|
||||
|
||||
AbstractAnimation();
|
||||
virtual ~AbstractAnimation() = 0;
|
||||
AbstractAnimation(QObject *parent = 0);
|
||||
virtual ~AbstractAnimation();
|
||||
|
||||
/**
|
||||
* Set the widget on which the animation is to be performed.
|
||||
|
Loading…
Reference in New Issue
Block a user