From 2d9dc40171c261fc6c907badb871d6735d59787a Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 10 Jul 2019 22:23:25 +0200 Subject: Profile: add speed parameter to Animation::* functions For now always use the preferences value, so that this is a no-op. This is a preparation for storing the speed in the profile widget. Signed-off-by: Berthold Stoeger --- profile-widget/animationfunctions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'profile-widget/animationfunctions.h') diff --git a/profile-widget/animationfunctions.h b/profile-widget/animationfunctions.h index b13757532..f8af01859 100644 --- a/profile-widget/animationfunctions.h +++ b/profile-widget/animationfunctions.h @@ -8,12 +8,12 @@ class QObject; namespace Animations { - void hide(QObject *obj); - void show(QObject *obj); - void moveTo(QObject *obj, qreal x, qreal y); - void moveTo(QObject *obj, const QPointF &pos); - void animDelete(QObject *obj); - void scaleTo(QObject *obj, qreal scale); + void hide(QObject *obj, int speed); + void show(QObject *obj, int speed); + void moveTo(QObject *obj, int speed, qreal x, qreal y); + void moveTo(QObject *obj, int speed, const QPointF &pos); + void animDelete(QObject *obj, int speed); + void scaleTo(QObject *obj, int speed, qreal scale); } #endif // ANIMATIONFUNCTIONS_H -- cgit v1.2.3-70-g09d2