QIfAbstractQueryTerm Class

The base class of all query terms. More...

Header: #include <QIfAbstractQueryTerm>
qmake: QT += interfaceframework
Inherited By:

QIfConjunctionTerm, QIfFilterTerm, and QIfScopeTerm

Public Types

enum Type { FilterTerm, ConjunctionTerm, ScopeTerm }

Public Functions

virtual QString toString() const = 0
virtual QIfAbstractQueryTerm::Type type() const = 0

Detailed Description

Following terms are supported:


The representation of a conjunction between two query terms


The representation of a filter


The representation of a scope which can hold another term

See Qt Interface Framework Query Language for how it can be used.

Member Type Documentation

enum QIfAbstractQueryTerm::Type

QIfAbstractQueryTerm::FilterTerm0A filter term stands for a filter which checks a specific identifier against a given value.
QIfAbstractQueryTerm::ConjunctionTerm1A conjunction term can combine multiple terms together, either by a OR or an AND conjunction.
QIfAbstractQueryTerm::ScopeTerm2A scope term is used to group terms together, e.g. to apply a negation to a group.

Member Function Documentation

[pure virtual] QString QIfAbstractQueryTerm::toString() const

Returns a string representation of the query.

[pure virtual] QIfAbstractQueryTerm::Type QIfAbstractQueryTerm::type() const

Returns the type of this query term.

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