QOrganizerItemIdFilter Class
The QOrganizerItemIdFilter class provides a filter based around a list of organizer item IDs. More...
Header: | #include <QOrganizerItemIdFilter> |
Inherits: | QOrganizerItemFilter |
Public Functions
QOrganizerItemIdFilter() | |
QOrganizerItemIdFilter(const QOrganizerItemFilter &other) | |
void | clear() |
QList<QOrganizerItemId> | ids() const |
void | insert(const QOrganizerItemId &id) |
void | remove(const QOrganizerItemId &id) |
void | setIds(const QList<QOrganizerItemId> &ids) |
- 4 public functions inherited from QOrganizerItemFilter
Detailed Description
The QOrganizerItemIdFilter class provides a filter based around a list of organizer item IDs.
It may be used to select organizer items whose IDs are contained in the given list.
Note: a QOrganizerItemIdFilter will not be preserved if streamed to a QDataStream.
Member Function Documentation
QOrganizerItemIdFilter::QOrganizerItemIdFilter()
Constructs a new organizer item ID filter.
QOrganizerItemIdFilter::QOrganizerItemIdFilter(const QOrganizerItemFilter &other)
Constructs a copy of other if possible, otherwise constructs a new organizer item ID filter.
void QOrganizerItemIdFilter::clear()
Clears the list which contains the IDs of possible matching items. Note that an item ID filter with an empty list will match no items.
See also setIds().
QList<QOrganizerItemId> QOrganizerItemIdFilter::ids() const
Returns the list of IDs of organizer items which match this filter.
See also setIds().
void QOrganizerItemIdFilter::insert(const QOrganizerItemId &id)
Inserts the id into the list which contains the IDs of possible matching items.
See also setIds().
void QOrganizerItemIdFilter::remove(const QOrganizerItemId &id)
Removes the id id from the list which contains the IDs of possible matching items.
See also clear().
void QOrganizerItemIdFilter::setIds(const QList<QOrganizerItemId> &ids)
Sets the list which contains the IDs of possible matching organizer items to ids.
See also ids().