Baloo

indexer.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_H
9 #define BALOO_INDEXER_H
10 
11 #include <QString>
12 #include <QMimeDatabase>
13 #include <KFileMetaData/ExtractorCollection>
14 
15 #include "transaction.h"
16 
17 namespace Baloo {
18 class Indexer
19 {
20 public:
21  Indexer(const QString& url, Transaction* tr);
22 
23  void index();
24 
25 private:
26  QString m_url;
27  QMimeDatabase m_mimeDB;
28  KFileMetaData::ExtractorCollection m_extractorCollection;
29 
30  Transaction* m_tr;
31 };
32 }
33 
34 #endif //BALOO_INDEXER_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 Mon Dec 11 2023 03:53:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.