The QOrganizerItemIdFilter class provides a filter based around a list of organizer item ids More...
#include <QOrganizerItemIdFilter>
Inherits QOrganizerItemFilter.
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 ) |
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 of ids.
Note: a QOrganizerItemIdFilter will not be preserved if streamed to a QDataStream.
Constructs a new organizer item id filter
Constructs a copy of other if possible, otherwise constructs a new organizer item id filter
Clears the list which contains the ids of possible matching items. A id filter with a cleared list will match no items.
See also setIds().
Returns the list of ids of organizer items which match this filter
See also setIds().
Inserts the id id into the list which contains the ids of possible matching items
See also setIds().
Removes the id id from the list which contains the ids of possible matching items, if it is contained in the list, otherwise has no effect.
See also clear().
Sets the list which contains the ids of possible matching organizer items to ids
See also ids().