summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qanimation/dummyobject.h
blob: c9896621af57088fe7e9944f7a10f86d15656a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <QtGui>

#ifndef _DUMMYOBJECT_H__

class DummyObject : public QObject
{
    Q_OBJECT
    Q_PROPERTY(QRect rect READ rect WRITE setRect)
    Q_PROPERTY(float opacity READ opacity WRITE setOpacity)
public:
    DummyObject();
    QRect rect() const;
    void setRect(const QRect &r);
    float opacity() const;
    void setOpacity(float);

private:
    QRect m_rect;
    float m_opacity;
};


#endif