Baloo

newfileindexer.h
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_NEWFILEINDEXER_H
8#define BALOO_NEWFILEINDEXER_H
9
10#include <QRunnable>
11#include <QStringList>
12#include <QObject>
13
14namespace Baloo {
15
16class Database;
17class FileIndexerConfig;
18
19/**
20 * Does not check the folder path or the mtime of the file
21 */
22class NewFileIndexer : public QObject, public QRunnable
23{
25public:
26 NewFileIndexer(Database* db, const FileIndexerConfig* config, const QStringList& newFiles);
27
28 void run() override;
29
31 void done();
32
33private:
34 Database* m_db;
35 const FileIndexerConfig* m_config;
36 QStringList m_files;
37};
38
39}
40
41#endif // BALOO_NEWFILEINDEXER_H
Active config class which emits signals if the config was changed, for example if the KCM saved the c...
Does not check the folder path or the mtime of the file.
Implements storage for docIds without any associated data Instantiated for:
Definition coding.cpp:11
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.