QTfrontend/ui/mouseoverfilter.h
author nemo
Wed, 29 Feb 2012 18:24:56 -0500
changeset 6754 744b9430557a
parent 6616 f77bb02b669f
child 10248 7b9b44a051f8
permissions -rw-r--r--
Fix for bug #366, delete gear if hog is drowning (needed either that or a check on nil Gear^.Hedgehog^.Gear)

#ifndef MOUSEOVERFILTER_H
#define MOUSEOVERFILTER_H

#include <QObject>

#include "ui_hwform.h"
#include "ui/page/AbstractPage.h"

class MouseOverFilter : public QObject
{
        Q_OBJECT
    public:
        explicit MouseOverFilter(QObject *parent = 0);
        void setUi(Ui_HWForm *uiForm);
    protected:
        bool eventFilter( QObject *dist, QEvent *event );
    signals:

    public slots:

    private:
        Ui_HWForm *ui;
        AbstractPage* abstractpage;

};

#endif // MOUSEOVERFILTER_H