aboutsummaryrefslogtreecommitdiff
path: root/stfgraphicsitem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'stfgraphicsitem.cc')
-rw-r--r--stfgraphicsitem.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/stfgraphicsitem.cc b/stfgraphicsitem.cc
index 865a029..414cf6c 100644
--- a/stfgraphicsitem.cc
+++ b/stfgraphicsitem.cc
@@ -1,3 +1,4 @@
+#include <QtCore/QDebug>
#include <QtGui/QPainterPath>
#include "stfreader.h"
@@ -16,12 +17,16 @@ public:
~StfToGraphicsPathItems() {
}
- bool startStroke(const QPoint& p, int, quint64) {
+ bool startStroke(const QPoint& p, int force, quint64 time) {
+ Q_UNUSED(force);
+ Q_UNUSED(time);
path = QPainterPath(QPointF(p));
return true;
}
- bool strokePoint(const QPoint& p, int, quint64) {
+ bool strokePoint(const QPoint& p, int force, quint64 time) {
+ Q_UNUSED(force);
+ Q_UNUSED(time);
path.lineTo(QPointF(p));
return true;
}