/***************************************************************************
                          cleaner.h  -  description
                             -------------------
    begin                : Tue Apr 5 2005
    copyright            : (C) 2005 by Christophe Thommeret
    email                : hftom@free.fr
    last modified        : $Date: 2005/04/27 19:38:47 $ by $Author: hftom $
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 CLEANER_H
#define CLEANER_H

#include <qobject.h>
#include <qthread.h>
#include <qstring.h>
#include <qtimer.h>



class Cleaner : public QObject, public QThread
{

	Q_OBJECT

public:

	Cleaner( const QString &path );
	~Cleaner();
	void setPath( const QString &path );

protected:

	virtual void run();

private slots:

	void doClean();

private:

	QTimer timer;
	QString livePath;
};
#endif
