Baloo

modifiedfileindexer.h
1 /*
2  SPDX-FileCopyrightText: 2015 Vishesh Handa <[email protected]>
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 
14 namespace Baloo {
15 
16 class Database;
17 class FileIndexerConfig;
18 
19 class ModifiedFileIndexer : public QObject, public QRunnable
20 {
21  Q_OBJECT
22 public:
23  ModifiedFileIndexer(Database* db, const FileIndexerConfig* config, const QStringList& files);
24 
25  void run() override;
26 
27 Q_SIGNALS:
28  void done();
29 
30 private:
31  Database* m_db;
32  const FileIndexerConfig* m_config;
33  QStringList m_files;
34 };
35 }
36 
37 #endif // BALOO_XATTRINDEXER_H
Q_OBJECTQ_OBJECT
Implements storage for docIds without any associated data Instantiated for:
Definition: coding.cpp:11
KIOWIDGETS_EXPORT bool run(const QUrl &_url, bool _is_local)
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 03:56:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.