QOrganizerItemCollectionFilter Class

The QOrganizerItemCollectionFilter class provides a filter based around the collection one organizer item belongs to. More...

Header: #include <QOrganizerItemCollectionFilter>
Inherits: QOrganizerItemFilter

Public Functions

QOrganizerItemCollectionFilter()
QOrganizerItemCollectionFilter(const QOrganizerItemFilter & other)
QSet<QOrganizerCollectionId> collectionIds() const
void setCollectionId(const QOrganizerCollectionId & id)
void setCollectionIds(const QSet<QOrganizerCollectionId> & ids)

Detailed Description

The QOrganizerItemCollectionFilter class provides a filter based around the collection one organizer item belongs to.

It may be used to select organizer items belonging to certain collections.

Member Function Documentation

QOrganizerItemCollectionFilter::QOrganizerItemCollectionFilter()

Constructs a new organizeritem collection filter.

QOrganizerItemCollectionFilter::QOrganizerItemCollectionFilter(const QOrganizerItemFilter & other)

Constructs a copy of other if possible, otherwise constructs a new organizeritem collection filter.

QSet<QOrganizerCollectionId> QOrganizerItemCollectionFilter::collectionIds() const

Returns the list of collection IDs of organizeritems should belong to.

See also setCollectionIds().

void QOrganizerItemCollectionFilter::setCollectionId(const QOrganizerCollectionId & id)

Sets the id of the collection, which the organizer items should belong to.

void QOrganizerItemCollectionFilter::setCollectionIds(const QSet<QOrganizerCollectionId> & ids)

Sets the list of collection ids, which the organizer items should belong to.

See also collectionIds().