summaryrefslogtreecommitdiffstats
path: root/polygon.h
diff options
context:
space:
mode:
Diffstat (limited to 'polygon.h')
-rw-r--r--polygon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/polygon.h b/polygon.h
index 54c8c4e..6b76300 100644
--- a/polygon.h
+++ b/polygon.h
@@ -14,8 +14,9 @@ public:
public:
virtual bool isHit(const QPoint &clickPoint);
virtual void draw(QPainter *painter);
+ virtual void move(const QPoint &oldPoint, const QPoint &newPoint);
-private:
+protected:
QPolygon m_polygon;
};