QIfConjunctionTerm Class

The QIfConjunctionTerm is the representation of a conjunction between two query terms. More...

Header: #include <QIfConjunctionTerm>
qmake: QT += interfaceframework
Inherits: QIfAbstractQueryTerm

Public Types

enum Conjunction { And, Or }

Public Functions

QIfConjunctionTerm::Conjunction conjunction() const
QList<QIfAbstractQueryTerm *> terms() const

Reimplemented Public Functions

virtual QString toString() const override
virtual QIfAbstractQueryTerm::Type type() const override

Detailed Description

Member Type Documentation

enum QIfConjunctionTerm::Conjunction

ConstantValueDescription
QIfConjunctionTerm::And0The AND conjunction combines the filters to only match when all supplied filters are true.
QIfConjunctionTerm::Or1The OR conjunction combines the filters to match when one of the supplied filters are true.

Member Function Documentation

QIfConjunctionTerm::Conjunction QIfConjunctionTerm::conjunction() const

Returns the type of the conjunction.

QList<QIfAbstractQueryTerm *> QIfConjunctionTerm::terms() const

Returns the terms which are conjuncted together.

[override virtual] QString QIfConjunctionTerm::toString() const

Reimplements: QIfAbstractQueryTerm::toString() const.

[override virtual] QIfAbstractQueryTerm::Type QIfConjunctionTerm::type() const

Reimplements: QIfAbstractQueryTerm::type() const.

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.