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

@ -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;