// -*- c++ -*-
/***************************************************************************
                           greedyh.h
                           ---------
    begin                : Wed Jul 21 2004
    copyright            : (C) 2004 by Dirk Ziegelmeier
    email                : dziegel@gmx.de
 ***************************************************************************/

/*
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 */

#ifndef GREEDYH_H
#define GREEDYH_H

#include <kdetvfilterplugin.h>

class QSpinBox;

class GreedyHPlugin : public KdetvFilterPlugin
{
    Q_OBJECT


public:
    GreedyHPlugin(Kdetv* ktv, const QString& cfgkey, QObject* parent = 0, const char* name=0);
    virtual ~GreedyHPlugin();

    virtual QWidget* configWidget(QWidget *parent, const char *name);
    virtual void saveConfig();


private slots:
    void defaults();


private:
    QSpinBox* _spMaxComb;
    QSpinBox* _spMotionThreshold;
    QSpinBox* _spMotionSense;
};

#endif // GREEDYH_H
