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
Detailed Description
Member Type Documentation
enum QIviConjunctionTerm::Conjunction
Constant | Value | Description |
---|---|---|
QIviConjunctionTerm::And | 0 | The AND conjunction combines the filters to only match when all supplied filters are true . |
QIviConjunctionTerm::Or | 1 | The 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.