/**************************************************************************** ** $Id$ ** ** Copyright (C) 2002 Carsten Pfeiffer ** ****************************************************************************/ #ifndef INDEXCLEANER_H #define INDEXCLEANER_H #include #include class TDEProcess; namespace KMrml { class Config; } namespace KMrmlConfig { class IndexCleaner : public TQObject { Q_OBJECT public: IndexCleaner( const TQStringList& dirs, const KMrml::Config *config, TQObject *parent = 0, const char *name = 0 ); ~IndexCleaner(); void start(); signals: void advance( int value ); void finished(); private slots: void slotExited( TDEProcess * ); private: int m_stepSize; void startNext(); TQStringList m_dirs; const KMrml::Config *m_config; TDEProcess *m_process; }; } #endif // INDEXCLEANER_H