1/*
2 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef BALOO_MODIFIEDFILEINDEXER_H
8#define BALOO_MODIFIEDFILEINDEXER_H
9
10#include <QRunnable>
11#include <QObject>
12#include <QStringList>
13
14namespace Baloo {
15
16class Database;
17class FileIndexerConfig;
18
19class ModifiedFileIndexer : public QObject, public QRunnable
20{
21 Q_OBJECT
22public:
23 ModifiedFileIndexer(Database* db, const FileIndexerConfig* config, const QStringList& files);
24
25 void run() override;
26
27Q_SIGNALS:
28 void done();
29
30private:
31 Database* m_db;
32 const FileIndexerConfig* m_config;
33 QStringList m_files;
34};
35}
36
37#endif // BALOO_XATTRINDEXER_H
38

source code of baloo/src/file/modifiedfileindexer.h