From a9a4f4c0bf1ad5495437a20a61615e02a3215c0a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 26 Jan 2009 10:38:23 +0000 Subject: [PATCH] Make the eventFilter(..) public --- GraphicsView/include/CGAL/Qt/GraphicsViewPolylineInput.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GraphicsView/include/CGAL/Qt/GraphicsViewPolylineInput.h b/GraphicsView/include/CGAL/Qt/GraphicsViewPolylineInput.h index 73bee02e75b..5ec85826447 100644 --- a/GraphicsView/include/CGAL/Qt/GraphicsViewPolylineInput.h +++ b/GraphicsView/include/CGAL/Qt/GraphicsViewPolylineInput.h @@ -46,7 +46,9 @@ public: { n_ = n; } - + + bool eventFilter(QObject *obj, QEvent *event); + protected: // protected constructor GraphicsViewPolylineInput_non_templated_base(QObject* parent, @@ -62,9 +64,7 @@ protected: // keyPressEvent returns true iff the event is consummed bool keyPressEvent(QKeyEvent *event); - - bool eventFilter(QObject *obj, QEvent *event); - + void rubberbands(const QPointF& p); virtual void generate_polygon() = 0;