summaryrefslogtreecommitdiffstats
path: root/polygon.h
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-05-31 22:55:45 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-05-31 22:55:45 +0200
commit45813562e266cf8e58ea9cb04f655bbb542a555e (patch)
treec8864c50a1bd84ec8f2e8e527e71c9825fabf92a /polygon.h
parent16cdefa1a8546d23efc357010e62c7c031319e56 (diff)
downloadGUI_SS2015-45813562e266cf8e58ea9cb04f655bbb542a555e.tar.gz
GUI_SS2015-45813562e266cf8e58ea9cb04f655bbb542a555e.zip
Make every line subclass editable
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;
};