QIfAbstractQueryTerm Class
The base class of all query terms. More...
Header: | #include <QIfAbstractQueryTerm> |
qmake: | QT += interfaceframework |
Inherited By: |
Public Types
enum | Type { FilterTerm, ConjunctionTerm, ScopeTerm } |
Public Functions
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
Constant | Value | Description |
---|---|---|
QIfAbstractQueryTerm::FilterTerm | 0 | A filter term stands for a filter which checks a specific identifier against a given value. |
QIfAbstractQueryTerm::ConjunctionTerm | 1 | A conjunction term can combine multiple terms together, either by a OR or an AND conjunction. |
QIfAbstractQueryTerm::ScopeTerm | 2 | A 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.
© 2021 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.