blob: a9d4e6c132d34a1a1fd6300b043e9203daf3a9f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/****************************************************************************
** $Id$
**
** Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
**
****************************************************************************/
#ifndef INDEXCLEANER_H
#define INDEXCLEANER_H
#include <tqobject.h>
#include <tqstringlist.h>
class KProcess;
namespace KMrml
{
class Config;
}
namespace KMrmlConfig
{
class IndexCleaner : public TQObject
{
Q_OBJECT
TQ_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( KProcess * );
private:
int m_stepSize;
void startNext();
TQStringList m_dirs;
const KMrml::Config *m_config;
KProcess *m_process;
};
}
#endif // INDEXCLEANER_H
|