QtMobility Reference Documentation

QLandmarkBoxFilter Class Reference

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

 #include <QLandmarkBoxFilter>

Inherits: QLandmarkFilter.

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkBoxFilter ( const QGeoBoundingBox & boundingBox = QGeoBoundingBox() )
QLandmarkBoxFilter ( const QGeoCoordinate & topLeft, const QGeoCoordinate & bottomRight )
QLandmarkBoxFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkBoxFilter ()
QGeoCoordinate bottomRight ()
QGeoBoundingBox boundingBox () const
void setBottomRight ( const QGeoCoordinate & bottomRight )
void setBoundingBox ( const QGeoBoundingBox & boundingBox )
void setTopLeft ( const QGeoCoordinate & topLeft )
QGeoCoordinate topLeft ()

Detailed Description

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

In order to be a valid filter, the region covered by the box filter must not cover one of the poles.

Member Function Documentation

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QGeoBoundingBox & boundingBox = QGeoBoundingBox() )

Creates a filter that will search for landmarks within the boundingBox.

This function was introduced in Qt Mobility 1.1.

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

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

This function was introduced in Qt Mobility 1.1.

QLandmarkBoxFilter::QLandmarkBoxFilter ( const QLandmarkFilter & other )

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

This function was introduced in Qt Mobility 1.1.

QLandmarkBoxFilter::~QLandmarkBoxFilter () [virtual]

Destroys the filter.

QGeoCoordinate QLandmarkBoxFilter::bottomRight ()

Returns the bottom right coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also setBottomRight().

QGeoBoundingBox QLandmarkBoxFilter::boundingBox () const

Returns the filter's bounding box.

This function was introduced in Qt Mobility 1.1.

See also setBoundingBox().

void QLandmarkBoxFilter::setBottomRight ( const QGeoCoordinate & bottomRight )

Sets the bottomRight coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also bottomRight().

void QLandmarkBoxFilter::setBoundingBox ( const QGeoBoundingBox & boundingBox )

Sets the boundingBox of the filter.

This function was introduced in Qt Mobility 1.1.

See also boundingBox().

void QLandmarkBoxFilter::setTopLeft ( const QGeoCoordinate & topLeft )

Sets the topLeft coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also topLeft().

QGeoCoordinate QLandmarkBoxFilter::topLeft ()

Returns the top left coordinate of the box filter.

This function was introduced in Qt Mobility 1.1.

See also setTopLeft().

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.