Contents
QLandmarkAttributeFilter Class Reference
The QLandmarkAttributeFilter class provides filtering based on generic landmark attributes. More...
#include <QLandmarkAttributeFilter>
Inherits QLandmarkFilter.
Public Functions
QLandmarkAttributeFilter () | |
QLandmarkAttributeFilter ( const QLandmarkFilter & other ) | |
virtual | ~QLandmarkAttributeFilter () |
QVariant | attribute ( const QString & key ) const |
QStringList | attributeKeys () const |
void | clearAttributes () |
void | removeAttribute ( const QString & key ) |
void | setAttribute ( const QString & key, const QVariant & value ) |
- 4 public functions inherited from QLandmarkFilter
Detailed Description
The QLandmarkAttributeFilter class provides filtering based on generic landmark attributes.
The QLandmarkAttributeFilter class may be used to filter landmarks whose attributes match certain values. If an invalid QVariant is provided as the value for an attribute, then any landmark that has that attribute is returned, regardless of its value. More than one attribute may be set in the filter, a landmark will only match if all attributes are matched.