summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/animation/sequential/tracer.h
diff options
context:
space:
mode:
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