Baloo

indexerstate.h
1 /*
2  This file is part of the KDE Baloo Project
3  SPDX-FileCopyrightText: 2015 Pinak Ahuja <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6 */
7 
8 #ifndef BALOO_INDEXER_STATE_H
9 #define BALOO_INDEXER_STATE_H
10 
11 #include <QObject>
12 #include <QString>
13 
14 #include "engine_export.h"
15 
16 namespace Baloo {
17 Q_NAMESPACE_EXPORT(BALOO_ENGINE_EXPORT)
18 
19 enum IndexerState {
20  Idle,
21  Suspended,
22  FirstRun,
23  NewFiles,
24  ModifiedFiles,
25  XAttrFiles,
26  ContentIndexing,
27  UnindexedFileCheck,
28  StaleIndexEntriesClean,
29  LowPowerIdle,
30  Unavailable,
31  Startup
32 };
33 Q_ENUM_NS(IndexerState)
34 
35 BALOO_ENGINE_EXPORT QString stateString(IndexerState state);
36 
37 //TODO: check for implicit conversion
38 BALOO_ENGINE_EXPORT QString stateString(int state);
39 
40 }
41 #endif //BALOO_INDEXER_STATE_H
Implements storage for docIds without any associated data Instantiated for:
Definition: coding.cpp:11
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.