QLandmarkBoxFilter Class Reference
The QLandmarkBoxFilter class is used to search for landmarks within a given bounding box. More...
#include <QLandmarkBoxFilter>
Inherits QLandmarkFilter.
Public Functions
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().