/**********************************/
/* This file is part of QtC 0.0.2 */
/* (c) 1997 Roberto Alsina        */
/* Licensed under the GPL v2      */
/* Read file COPYING for details  */
/**********************************/
#ifndef QT_EVENT_FILER_H
#define QT_EVENT_FILER_H

#include <qobject.h>
#include <qwidget.h>

#include "qtc_types.h"

class EventFilter: public QObject
{
    Q_OBJECT
public:
    EventFilter(QObject *_parent,qt_eventFilter f);
    ~EventFilter();
    bool eventFilter(QObject *o, QEvent *e);
private:
    qt_eventFilter filter;
};

extern "C"
{
qt_eventFilter *qt_new_EventFilter(qt_QObject *_parent,qt_eventFilter f);
}
#endif
