QIviConjunctionTerm Class

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

Header: #include <QIviConjunctionTerm>
qmake: QT += ivicore
Inherits: QIviAbstractQueryTerm

Public Types

enum Conjunction { And, Or }

Public Functions

QIviConjunctionTerm::Conjunction conjunction() const
QList<QIviAbstractQueryTerm *> terms() const

Reimplemented Public Functions

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

Detailed Description

Member Type Documentation

enum QIviConjunctionTerm::Conjunction

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

Member Function Documentation

QIviConjunctionTerm::Conjunction QIviConjunctionTerm::conjunction() const

Returns the type of the conjunction.

QList<QIviAbstractQueryTerm *> QIviConjunctionTerm::terms() const

Returns the terms which are conjuncted together.

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

Reimplements: QIviAbstractQueryTerm::toString() const.

[override virtual] QIviAbstractQueryTerm::Type QIviConjunctionTerm::type() const

Reimplements: QIviAbstractQueryTerm::type() const.

© 2020 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.