diff options
Diffstat (limited to 'stfstrokeitem.h')
-rw-r--r-- | stfstrokeitem.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/stfstrokeitem.h b/stfstrokeitem.h index 5825c10..eaf8d8a 100644 --- a/stfstrokeitem.h +++ b/stfstrokeitem.h @@ -19,7 +19,7 @@ #ifndef STFSTROKEITEM_H #define STFSTROKEITEM_H -#include <QtGui/QGraphicsPathItem> +#include <QtWidgets/QGraphicsPathItem> #include "paperreplay.h" class StfStrokeItem : public QGraphicsPathItem @@ -29,10 +29,12 @@ public: enum { Type = UserType + 't' }; - int type() const; + int type() const override; + + bool hasPaperReplay() const; protected: - void mousePressEvent(QGraphicsSceneMouseEvent *event); + void mousePressEvent(QGraphicsSceneMouseEvent *event) override; private: PaperReplay::Session _session; |