summaryrefslogtreecommitdiffstats
path: root/src/animations/xyanimation_p.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@digia.com>2012-05-28 16:04:37 +0300
committerMichal Klocek <michal.klocek@digia.com>2012-05-29 10:10:45 +0300
commitb11722f8058842260f9b7e1e72418768d24ff91b (patch)
tree79907367dfb81c0c4c40fa7fd1873b862860cd34 /src/animations/xyanimation_p.h
parent8cad7c5eba8c408925cdd7743b1bef72c1a9c998 (diff)
adds QLineAnimation fixes
Diffstat (limited to 'src/animations/xyanimation_p.h')
-rw-r--r--src/animations/xyanimation_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animations/xyanimation_p.h b/src/animations/xyanimation_p.h
index 50b3478a..5c887402 100644
--- a/src/animations/xyanimation_p.h
+++ b/src/animations/xyanimation_p.h
@@ -34,8 +34,7 @@ public:
enum Animation { AddPointAnimation, RemovePointAnimation, ReplacePointAnimation, NewAnimation };
XYAnimation(XYChart *item);
~XYAnimation();
- void setValues(const QVector<QPointF> &oldPoints, const QVector<QPointF> &newPoints,int index);
- void setAnimationType(Animation type);
+ void setup(const QVector<QPointF> &oldPoints, const QVector<QPointF> &newPoints,int index = -1);
Animation animationType() const { return m_type; };
protected: