Qt Mobility Reference Documentation

QOrganizerItemIdFilter Class Reference

The QOrganizerItemIdFilter class provides a filter based around a list of organizer item ids More...

 #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 )

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 of ids.

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. A id filter with a cleared 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 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, if it is contained in the list, otherwise has no effect.

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().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.