11#include "search_core_export.h"
26class AKONADI_SEARCH_CORE_EXPORT
Term
73 [[nodiscard]]
bool isValid()
const;
79 void setNegation(
bool isNegated);
81 [[nodiscard]]
bool negated()
const;
82 [[nodiscard]]
bool isNegated()
const;
84 void addSubTerm(
const Term &term);
90 [[nodiscard]]
Term subTerm()
const;
93 void setOperation(Operation op);
94 [[nodiscard]] Operation operation()
const;
96 [[nodiscard]]
bool isEmpty()
const;
97 [[nodiscard]]
bool empty()
const;
102 [[nodiscard]]
QString property()
const;
103 void setProperty(
const QString &property);
105 [[nodiscard]]
QVariant value()
const;
106 void setValue(
const QVariant &value);
108 [[nodiscard]] Comparator comparator()
const;
109 void setComparator(Comparator c);
114 [[nodiscard]] QVariantMap toVariantMap()
const;
115 static Term fromVariantMap(
const QVariantMap &map);
117 bool operator==(
const Term &rhs)
const;
122 std::unique_ptr<TermPrivate>
const d;
133inline Term operator||(
const Term &lhs,
const Term &rhs)
141inline Term operator!(
const Term &rhs)
144 t.setNegation(!rhs.isNegated());
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:52 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.