summaryrefslogtreecommitdiffstats
path: root/line.h
diff options
context:
space:
mode:
Diffstat (limited to 'line.h')
-rw-r--r--line.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/line.h b/line.h
index 745f653..41b02ad 100644
--- a/line.h
+++ b/line.h
@@ -9,13 +9,12 @@ class Line : public QLine
{
public:
Line();
- Line(const Line &other);
- bool isHit(const QPoint & clickPoint);
+ virtual bool isHit(const QPoint & clickPoint);
void setSelected(bool selected);
- void draw(QPainter * painter);
+ virtual void draw(QPainter * painter);
-private:
+protected:
bool m_selected;
};