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

DummyObject::DummyObject()
{
}

QRect DummyObject::rect() const
{
    return m_rect;
}

void DummyObject::setRect(const QRect &r) 
{
    m_rect = r;
}

float DummyObject::opacity() const
{
    return m_opacity;
}

void DummyObject::setOpacity(float o)
{
    m_opacity = o;
}