QOrganizerItemFilter Class Reference
The QOrganizerItemFilter class is used to select organizer items made available through a QOrganizerItemManager. More...
#include <QOrganizerItemFilter>
Inherited by QOrganizerItemChangeLogFilter, QOrganizerItemDateTimePeriodFilter, QOrganizerItemDetailFilter, QOrganizerItemDetailRangeFilter, QOrganizerItemIntersectionFilter, QOrganizerItemInvalidFilter, QOrganizerItemLocalIdFilter, and QOrganizerItemUnionFilter.
Public Types
enum | FilterType { InvalidFilter, OrganizerItemDetailFilter, OrganizerItemDetailRangeFilter, OrganizerItemDateTimePeriodFilter, ..., DefaultFilter } |
enum | MatchFlag { MatchExactly, MatchContains, MatchStartsWith, MatchEndsWith, MatchFixedString, MatchCaseSensitive } |
flags | MatchFlags |
Public Functions
Related Non-Members
const QOrganizerItemFilter | operator& ( const QOrganizerItemFilter & left, const QOrganizerItemFilter & right ) |
const QOrganizerItemFilter | operator| ( const QOrganizerItemFilter & left, const QOrganizerItemFilter & right ) |
Detailed Description
The QOrganizerItemFilter class is used to select organizer items made available through a QOrganizerItemManager.
This class is used as a parameter to various functions offered by QOrganizerItemManager, to allow selection of items which have certain details or properties.
|
Constant | Value | Description |
QOrganizerItemFilter::InvalidFilter | 0 | An invalid filter which matches nothing |
QOrganizerItemFilter::OrganizerItemDetailFilter | 1 | A filter which matches items containing one or more details of a particular definition with a particular value |
QOrganizerItemFilter::OrganizerItemDetailRangeFilter | 2 | A filter which matches items containing one or more details of a particular definition whose values are within a particular range |
QOrganizerItemFilter::OrganizerItemDateTimePeriodFilter | 3 | A filter which matches items which occur in a given date/time period |
QOrganizerItemFilter::ChangeLogFilter | 4 | A filter which matches items whose timestamps have been updated since some particular date and time A filter which matches items for which a particular action is available, or which contain a detail with a particular value for which a particular action is available |
QOrganizerItemFilter::IntersectionFilter | 6 | A filter which matches all items that are matched by all filters it includes |
QOrganizerItemFilter::UnionFilter | 7 | A filter which matches any organizeritem that is matched by any of the filters it includes |
QOrganizerItemFilter::LocalIdFilter | 8 | A filter which matches any organizeritem whose local id is contained in a particular list of organizeritem local ids |
QOrganizerItemFilter::DefaultFilter | 9 | A filter which matches everything |
|
Constant | Value | Description |
QOrganizerItemFilter::MatchExactly | Qt::MatchExactly | Performs QVariant-based matching |
QOrganizerItemFilter::MatchContains | Qt::MatchContains | The search term is contained in the item |
QOrganizerItemFilter::MatchStartsWith | Qt::MatchStartsWith | The search term matches the start of the item |
QOrganizerItemFilter::MatchEndsWith | Qt::MatchEndsWith | The search term matches the end of the item |
QOrganizerItemFilter::MatchFixedString | Qt::MatchFixedString | Performs string-based matching. String-based comparisons are case-insensitive unless the MatchCaseSensitive flag is also specified |
QOrganizerItemFilter::MatchCaseSensitive | Qt::MatchCaseSensitive | The search is case sensitive |