diff options
Diffstat (limited to 'line.h')
| -rw-r--r-- | line.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; }; |
