Baloo

searchstore.h
1/*
2 This file is part of the KDE Baloo Project
3 SPDX-FileCopyrightText: 2013-2015 Vishesh Handa <vhanda@kde.org>
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
14namespace Baloo {
15
16class Term;
17class Database;
18class Transaction;
19class PostingIterator;
20
21class SearchStore
22{
23public:
24 SearchStore();
25 ~SearchStore();
26
27 ResultList exec(const Term& term, uint offset, int limit, bool sortResults);
28
29private:
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-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.