The QOrganizerItemDetailRangeFilter class provides a filter based around a detail value range criterion. More...
#include <QOrganizerItemDetailRangeFilter>
Inherits: QOrganizerItemFilter.
This class was introduced in Qt Mobility 1.1.
enum | RangeFlag { IncludeLower, IncludeUpper, ExcludeLower, ExcludeUpper } |
flags | RangeFlags |
QOrganizerItemDetailRangeFilter () | |
QOrganizerItemDetailRangeFilter ( const QOrganizerItemFilter & other ) | |
QString | detailDefinitionName () const |
QString | detailFieldName () const |
QOrganizerItemFilter::MatchFlags | matchFlags () const |
QVariant | maxValue () const |
QVariant | minValue () const |
RangeFlags | rangeFlags () const |
void | setDetailDefinitionName ( const QString & definitionName, const QString & fieldName = QString() ) |
void | setMatchFlags ( QOrganizerItemFilter::MatchFlags flags ) |
void | setRange ( const QVariant & min, const QVariant & max, RangeFlags flags = 0 ) |
The QOrganizerItemDetailRangeFilter class provides a filter based around a detail value range criterion.
It may be used to select organizeritems which contain a detail of a particular definition with a particular value
Enumerates the semantics of the boundary conditions of the detail range filter
Constant | Value |
---|---|
QOrganizerItemDetailRangeFilter::IncludeLower | 0 |
QOrganizerItemDetailRangeFilter::IncludeUpper | 1 |
QOrganizerItemDetailRangeFilter::ExcludeLower | 2 |
QOrganizerItemDetailRangeFilter::ExcludeUpper | 0 |
The RangeFlags type is a typedef for QFlags<RangeFlag>. It stores an OR combination of RangeFlag values.
* Constructs a new detail range filter
This function was introduced in Qt Mobility 1.1.
* * Constructs a copy of other if possible, otherwise constructs a new detail range filter
This function was introduced in Qt Mobility 1.1.
* Returns the definition name of the details which will be inspected for matching values *
This function was introduced in Qt Mobility 1.1.
See also setDetailDefinitionName().
* Returns the name of the field which contains the value which will be matched against the value criterion *
This function was introduced in Qt Mobility 1.1.
See also setDetailDefinitionName().
* Returns the match flags of the criterion, which define semantics such as case sensitivity, prefix matching, exact matching, etc. *
This function was introduced in Qt Mobility 1.1.
See also setMatchFlags().
* Returns the upper bound of the value range criterion *
This function was introduced in Qt Mobility 1.1.
See also setRange().
* Returns the lower bound of the value range criterion *
This function was introduced in Qt Mobility 1.1.
See also setRange().
* Returns a set of flags which defines the boundary condition semantics of the value range criterion *
This function was introduced in Qt Mobility 1.1.
See also setRange().
* Sets the name of the detail definition of which type details will be inspected for matching values to definitionName, * and the name of the field which will be inspected in details of that definition to fieldName. *
This function was introduced in Qt Mobility 1.1.
See also detailDefinitionName() and detailFieldName().
Sets the match flags of the filter criterion to flags
Not all flags are supported by a range filter. The supported flags include:
Unsupported flags will be ignored.
This function was introduced in Qt Mobility 1.1.
See also matchFlags().
* Sets the value range criterion of the filter to within min and max, with boundary conditions specified in the given flags *
This function was introduced in Qt Mobility 1.1.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.