Baloo

indexcleaner.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_INDEXCLEANER_H
8 #define BALOO_INDEXCLEANER_H
9 
10 #include <QRunnable>
11 #include <QObject>
12 
13 namespace Baloo {
14 
15 class Database;
16 class FileIndexerConfig;
17 
18 class IndexCleaner : public QObject, public QRunnable
19 {
20  Q_OBJECT
21 public:
22  IndexCleaner(Database* db, FileIndexerConfig* config);
23  void run() override;
24 
25 Q_SIGNALS:
26  void done();
27 
28 private:
29  Database* m_db;
30  FileIndexerConfig* m_config;
31 };
32 }
33 
34 #endif // BALOO_INDEXCLEANER_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.