#ifndef _FILTER_H_
#define _FILTER_H_

#include <qobject.h>

class Filter : public QObject
{
public:
	Filter(QObject *parent = 0, const char *name = 0) : QObject(parent,name) {}

	virtual bool eventFilter(QObject *, QEvent *e)
	{
		if (e->type() >= Event_MouseButtonPress && e->type() <= Event_MouseButtonDblClick) {
			return TRUE;
		}
		else return FALSE;
	}
};

#endif
