12Document::Document() =
default;
21void Document::addPositionTerm(
const QByteArray& term,
int position)
24 TermData& td = m_terms[term];
25 td.positions.append(position);
28void Document::addXattrPositionTerm(
const QByteArray& term,
int position)
31 TermData& td = m_xattrTerms[term];
32 td.positions.append(position);
35void Document::addXattrTerm(
const QByteArray& term)
41void Document::addFileNamePositionTerm(
const QByteArray& term,
int position)
44 TermData& td = m_fileNameTerms[term];
45 td.positions.append(position);
48void Document::addFileNameTerm(
const QByteArray& term)
51 m_fileNameTerms[term];
54quint64 Document::id()
const
59void Document::setId(quint64
id)
65quint64 Document::parentId()
const
70void Document::setParentId(quint64 parentId)
73 m_parentId = parentId;
87bool Document::contentIndexing()
const
89 return m_contentIndexing;
92void Document::setContentIndexing(
bool val)
94 m_contentIndexing = val;
Implements storage for docIds without any associated data Instantiated for:
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:51:09 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.