missing property
svn path=/trunk/KDE/kdelibs/; revision=1070127
This commit is contained in:
parent
29365773e2
commit
0337eb0ae3
@ -16,14 +16,17 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
#include "pulser_p.h"
|
||||
#include "pulsershadow_p.h"
|
||||
|
||||
#include <QEvent>
|
||||
#include <QGraphicsWidget>
|
||||
#include <QParallelAnimationGroup>
|
||||
#include <QPropertyAnimation>
|
||||
#include <QWeakPointer>
|
||||
|
||||
#include <kdebug.h>
|
||||
|
||||
#include "pulsershadow_p.h"
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
||||
@ -40,6 +43,16 @@ PulseAnimation::~PulseAnimation()
|
||||
{
|
||||
}
|
||||
|
||||
void PulseAnimation::setTargetScale(qreal scale)
|
||||
{
|
||||
m_endScale = scale;
|
||||
}
|
||||
|
||||
qreal PulseAnimation::targetScale() const
|
||||
{
|
||||
return m_endScale;
|
||||
}
|
||||
|
||||
void PulseAnimation::setCopy()
|
||||
{
|
||||
QGraphicsWidget *target = targetWidget();
|
||||
|
@ -41,6 +41,7 @@ class ShadowFake;
|
||||
class PulseAnimation : public Animation
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(qreal targetScale READ targetScale WRITE setTargetScale)
|
||||
|
||||
public:
|
||||
/** Default Constructor */
|
||||
@ -48,6 +49,9 @@ public:
|
||||
/** Destructor */
|
||||
~PulseAnimation();
|
||||
|
||||
void setTargetScale(qreal scale);
|
||||
qreal targetScale() const;
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
* Resets the shadow widget to its initial state (full translucent
|
||||
|
Loading…
x
Reference in New Issue
Block a user