MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QLandmarkIdFilter Class Reference

The QLandmarkIdFilter class is used to search for landmarks based on a list of landmark identifiers. More...

 #include <QLandmarkIdFilter>

Inherits: QLandmarkFilter.

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkIdFilter ( const QList<QLandmarkId> & ids = QList<QLandmarkId> () )
QLandmarkIdFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkIdFilter ()
void append ( const QLandmarkId & id )
void clear ()
QList<QLandmarkId> landmarkIds () const
void remove ( const QLandmarkId & id )
void setLandmarkIds ( const QList<QLandmarkId> & ids )
QLandmarkIdFilter & operator<< ( const QLandmarkId & id )

Detailed Description

The QLandmarkIdFilter class is used to search for landmarks based on a list of landmark identifiers.

Member Function Documentation

QLandmarkIdFilter::QLandmarkIdFilter ( const QList<QLandmarkId> & ids = QList<QLandmarkId> () )

Creates a filter that selects landmarks using a list of landmark ids.

This function was introduced in Qt Mobility 1.1.

QLandmarkIdFilter::QLandmarkIdFilter ( const QLandmarkFilter & other )

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

This function was introduced in Qt Mobility 1.1.

QLandmarkIdFilter::~QLandmarkIdFilter () [virtual]

Destroys the filter.

void QLandmarkIdFilter::append ( const QLandmarkId & id )

Adds id to the list of landmark ids this filter searches for.

This function was introduced in Qt Mobility 1.1.

void QLandmarkIdFilter::clear ()

Removes all identifiers from the filter.

This function was introduced in Qt Mobility 1.1.

QList<QLandmarkId> QLandmarkIdFilter::landmarkIds () const

Returns the list of landmark identifiers that the filter will use to determine matches.

This function was introduced in Qt Mobility 1.1.

See also setLandmarkIds().

void QLandmarkIdFilter::remove ( const QLandmarkId & id )

Removes id to the list of landmark ids this filter searches for.

This function was introduced in Qt Mobility 1.1.

void QLandmarkIdFilter::setLandmarkIds ( const QList<QLandmarkId> & ids )

Sets the ids that the filter will use to determine matches.

This function was introduced in Qt Mobility 1.1.

See also landmarkIds().

QLandmarkIdFilter & QLandmarkIdFilter::operator<< ( const QLandmarkId & id )

Appends the given id to the list of landmark identifiers this filter searches for.

This function was introduced in Qt Mobility 1.1.