QOrganizerItemFilter Class ReferenceThe QOrganizerItemFilter class is used to select organizer items made available through a QOrganizerManager. More... #include <QOrganizerItemFilter> Inherited by: QOrganizerItemChangeLogFilter, QOrganizerItemCollectionFilter, QOrganizerItemDetailFilter, QOrganizerItemDetailRangeFilter, QOrganizerItemIdFilter, QOrganizerItemIntersectionFilter, QOrganizerItemInvalidFilter, and QOrganizerItemUnionFilter. This class was introduced in Qt Mobility 1.1. Public Types
Public Functions
Related Non-Members
Detailed DescriptionThe QOrganizerItemFilter class is used to select organizer items made available through a QOrganizerManager. This class is used as a parameter to various functions offered by QOrganizerManager, to allow selection of items which have certain details or properties. Member Type Documentation
|
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::ChangeLogFilter | 3 | A filter which matches items whose timestamps have been updated since some particular date and time |
QOrganizerItemFilter::IntersectionFilter | 5 | A filter which matches all items that are matched by all filters it includes |
QOrganizerItemFilter::UnionFilter | 6 | A filter which matches any organizer item that is matched by any of the filters it includes |
QOrganizerItemFilter::IdFilter | 7 | A filter which matches any organizer item whose id is contained in a particular list of organizer item ids |
QOrganizerItemFilter::CollectionFilter | 8 | A filter which matches any organizer item that is matched by collection. |
QOrganizerItemFilter::DefaultFilter | 9 | A filter which matches everything |
Describes the semantics of matching followed by the filter
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 |
The MatchFlags type is a typedef for QFlags<MatchFlag>. It stores an OR combination of MatchFlag values.
Constructs an empty filter
Constructs a new copy of other
This function was introduced in Qt Mobility 1.1.
Cleans up the memory used by this filter
Returns the type of the filter
This function was introduced in Qt Mobility 1.1.
Returns true if this filter is not identical to the other filter.
This function was introduced in Qt Mobility 1.1.
See also operator==().
Assigns this filter to be other
This function was introduced in Qt Mobility 1.1.
Returns true if the filter has the same type and criteria as other
This function was introduced in Qt Mobility 1.1.
Returns a filter which is the intersection of the left and right filters
This function was introduced in Qt Mobility 1.1.
See also QOrganizerItemIntersectionFilter.
Returns a filter which is the union of the left and right filters
This function was introduced in Qt Mobility 1.1.
See also QOrganizerItemUnionFilter.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.2 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com