summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/animation/sequential/tracer.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-05-25 07:55:55 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-05-25 07:55:55 (GMT)
commitacc6122892a33b845da32b1d5b30dc6852c17e73 (patch)
tree978a84a77a6bccff08bace60d47a6b14cd9eefd2 /doc/src/snippets/animation/sequential/tracer.h
parent43eccd4e52402b9020a0cf26aa1486784f8abe0e (diff)
parent4147a2c788c39f09ef87181768a779cb701fd2bd (diff)
downloadQt-acc6122892a33b845da32b1d5b30dc6852c17e73.zip
Qt-acc6122892a33b845da32b1d5b30dc6852c17e73.tar.gz
Qt-acc6122892a33b845da32b1d5b30dc6852c17e73.tar.bz2
Merge branch 'master' into graphics-master
Diffstat (limited to 'doc/src/snippets/animation/sequential/tracer.h')
-rw-r--r--doc/src/snippets/animation/sequential/tracer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/src/snippets/animation/sequential/tracer.h b/doc/src/snippets/animation/sequential/tracer.h
new file mode 100644
index 0000000..1adb018
--- /dev/null
+++ b/doc/src/snippets/animation/sequential/tracer.h
@@ -0,0 +1,23 @@
+#ifndef TRACER_H
+#define TRACER_H
+
+#include <QObject>
+#include <QVariant>
+
+class Tracer : public QObject
+{
+ Q_OBJECT
+
+public:
+ Tracer(QObject *parent = 0);
+
+public slots:
+ void checkValue();
+ void recordValue(const QVariant &value);
+
+private:
+ QVariant value;
+ int time;
+};
+
+#endif