86ff8980cd161d35fc6e75ca2ac147525d06ce52
[dorian] / model / bookfinder.h
1 #ifndef BOOKFINDER_H
2 #define BOOKFINDER_H
3
4 #include <QObject>
5 #include <QThread>
6
7 class QStringList;
8 class QString;
9
10 class BookFinder: public QObject
11 {
12     Q_OBJECT
13
14 public:
15     explicit BookFinder(QObject *parent = 0);
16
17 public slots:
18     void find(const QString &directory, const QStringList &books);
19
20 signals:
21     void begin(int count);
22     void add(const QString &bookPath);
23     void done(int count);
24 };
25
26 #endif // BOOKFINDER_H