Make the eventFilter(..) public

This commit is contained in:
Andreas Fabri 2009-01-26 10:38:23 +00:00
parent 889ba5afe1
commit a9a4f4c0bf
1 changed files with 4 additions and 4 deletions

View File

@ -47,6 +47,8 @@ public:
n_ = n; n_ = n;
} }
bool eventFilter(QObject *obj, QEvent *event);
protected: protected:
// protected constructor // protected constructor
GraphicsViewPolylineInput_non_templated_base(QObject* parent, GraphicsViewPolylineInput_non_templated_base(QObject* parent,
@ -63,8 +65,6 @@ protected:
// keyPressEvent returns true iff the event is consummed // keyPressEvent returns true iff the event is consummed
bool keyPressEvent(QKeyEvent *event); bool keyPressEvent(QKeyEvent *event);
bool eventFilter(QObject *obj, QEvent *event);
void rubberbands(const QPointF& p); void rubberbands(const QPointF& p);
virtual void generate_polygon() = 0; virtual void generate_polygon() = 0;