summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/animation/qanimation/dummyanimation.h
blob: 331d66e151d4ed774322c355ea22107fc2524ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include <QtGui>

#ifndef _DUMMYANIMATION_H__

class DummyObject;

class DummyAnimation : public QVariantAnimation
{
public:
    DummyAnimation(DummyObject *d);

    void updateCurrentValue(const QVariant &value) override;
    void updateState(State newstate, State oldstate) override;

private:
    DummyObject *m_dummy;
};

#endif