MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QLandmarkNameFilter Class Reference

The QLandmarkNameFilter class is used to search for landmarks by name. More...

 #include <QLandmarkNameFilter>

Inherits: QLandmarkFilter.

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkNameFilter ( const QString & name = QString() )
QLandmarkNameFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkNameFilter ()
QLandmarkFilter::MatchFlags matchFlags () const
QString name () const
void setMatchFlags ( QLandmarkFilter::MatchFlags flags )
void setName ( const QString & name )

Detailed Description

The QLandmarkNameFilter class is used to search for landmarks by name.

Please note that different platforms support different capabilities with the attribute filter.

  • The S60 3.1, 3.2 and 5.0 platforms do not support the MatchContains flag while the Symbian platform does.
  • Note also that MatchContains is supported using the sparql and sqlite managers.

Member Function Documentation

QLandmarkNameFilter::QLandmarkNameFilter ( const QString & name = QString() )

Creates a filter that selects landmarks by name.

This function was introduced in Qt Mobility 1.1.

QLandmarkNameFilter::QLandmarkNameFilter ( const QLandmarkFilter & other )

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

QLandmarkNameFilter::~QLandmarkNameFilter () [virtual]

Destroys the filter.

QLandmarkFilter::MatchFlags QLandmarkNameFilter::matchFlags () const

Returns the matching criteria of the filter.

This function was introduced in Qt Mobility 1.1.

See also setMatchFlags().

QString QLandmarkNameFilter::name () const

Returns the name that the filter will use to determine matches.

This function was introduced in Qt Mobility 1.1.

See also setName().

void QLandmarkNameFilter::setMatchFlags ( QLandmarkFilter::MatchFlags flags )

Sets the matching criteria to those defined in flags.

This function was introduced in Qt Mobility 1.1.

See also matchFlags().

void QLandmarkNameFilter::setName ( const QString & name )

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

This function was introduced in Qt Mobility 1.1.

See also name().