* 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()
|
AbstractAnimation::AbstractAnimation(QObject *parent)
|
||||||
: d(new AbstractAnimationPrivate)
|
: QObject(parent),
|
||||||
|
d(new AbstractAnimationPrivate)
|
||||||
{
|
{
|
||||||
d->easingCurve = QEasingCurve::Linear;
|
d->easingCurve = QEasingCurve::Linear;
|
||||||
}
|
}
|
||||||
|
@ -54,8 +54,8 @@ class PLASMA_EXPORT AbstractAnimation : public QObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
AbstractAnimation();
|
AbstractAnimation(QObject *parent = 0);
|
||||||
virtual ~AbstractAnimation() = 0;
|
virtual ~AbstractAnimation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the widget on which the animation is to be performed.
|
* Set the widget on which the animation is to be performed.
|
||||||
|
Loading…
Reference in New Issue
Block a user