Qt Mobility Reference Documentation

QLandmarkBoxFilter Class Reference

The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box. More...

 #include <QLandmarkBoxFilter>

Inherits QLandmarkFilter.


Public Functions

QLandmarkBoxFilter ( const QGeoCoordinate & topLeft = QGeoCoordinate(), const QGeoCoordinate & bottomRight = QGeoCoordinate() )
QLandmarkBoxFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkBoxFilter ()
QGeoCoordinate bottomRightCoordinate () const
void setBottomRightCoordinate ( const QGeoCoordinate & bottomRight )
void setTopLeftCoordinate ( const QGeoCoordinate & topLeft )
QGeoCoordinate topLeftCoordinate () const

Detailed Description

The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box.


Member Function Documentation

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QGeoCoordinate & topLeft = QGeoCoordinate(), const QGeoCoordinate & bottomRight = QGeoCoordinate() )

Creates a filter that will search for landmarks within a bounding box defined by the topLeft and bottomRight coordinates.

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QLandmarkFilter & other )

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

QLandmarkBoxFilter::~QLandmarkBoxFilter () [virtual]

Destroys the filter.

QGeoCoordinate QLandmarkBoxFilter::bottomRightCoordinate () const

Returns the bottom-right coordinate of the bounding box this filter uses to select landmarks.

See also setBottomRightCoordinate().

void QLandmarkBoxFilter::setBottomRightCoordinate ( const QGeoCoordinate & bottomRight )

Sets the bottomRight coordinate of the bounding box this filter uses to select landmarks.

See also bottomRightCoordinate().

void QLandmarkBoxFilter::setTopLeftCoordinate ( const QGeoCoordinate & topLeft )

Sets the topLeft corner of the bounding box this filter uses to select landmarks.

See also topLeftCoordinate().

QGeoCoordinate QLandmarkBoxFilter::topLeftCoordinate () const

Returns the top-left corner of the bounding box this filter uses to select landmarks.

See also setTopLeftCoordinate().


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0