summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qanimation/dummyobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qanimation/dummyobject.cpp')
-rw-r--r--tests/benchmarks/qanimation/dummyobject.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/benchmarks/qanimation/dummyobject.cpp b/tests/benchmarks/qanimation/dummyobject.cpp
new file mode 100644
index 0000000..bd76388
--- /dev/null
+++ b/tests/benchmarks/qanimation/dummyobject.cpp
@@ -0,0 +1,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;
+}