Baloo

searchstore.h
1 /*
2  This file is part of the KDE Baloo Project
3  SPDX-FileCopyrightText: 2013-2015 Vishesh Handa <[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_SEARCHSTORE_H
9 #define BALOO_SEARCHSTORE_H
10 
11 #include <QString>
12 #include "result_p.h"
13 
14 namespace Baloo {
15 
16 class Term;
17 class Database;
18 class Transaction;
19 class PostingIterator;
20 
21 class SearchStore
22 {
23 public:
24  SearchStore();
25  ~SearchStore();
26 
27  ResultList exec(const Term& term, uint offset, int limit, bool sortResults);
28 
29 private:
30  Database* m_db;
31 
32  PostingIterator* constructQuery(Transaction* tr, const Term& term);
33 };
34 
35 }
36 
37 #endif // BALOO_SEARCHSTORE_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.