Baloo

enginequery.cpp
1/*
2 This file is part of the KDE Baloo Project
3 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#include "enginequery.h"
9
10namespace Baloo {
11
12EngineQuery::EngineQuery()
13 : m_op(Equal)
14{
15}
16
17EngineQuery::EngineQuery(const QByteArray& term, EngineQuery::Operation op)
18 : m_term(term)
19 , m_op(op)
20{
21}
22
23EngineQuery::EngineQuery(const QVector<EngineQuery> &subQueries)
24 : m_op(EngineQuery::Operation::Phrase)
25 , m_subQueries(subQueries)
26{
27}
28
29} // namespace Baloo
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 Fri May 17 2024 11:51:50 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.