diff options
Diffstat (limited to 'src/location/landmarks/qlandmarkattributefilter.cpp')
-rw-r--r-- | src/location/landmarks/qlandmarkattributefilter.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/location/landmarks/qlandmarkattributefilter.cpp b/src/location/landmarks/qlandmarkattributefilter.cpp index 74f871a7..f2bda00c 100644 --- a/src/location/landmarks/qlandmarkattributefilter.cpp +++ b/src/location/landmarks/qlandmarkattributefilter.cpp @@ -43,7 +43,7 @@ #include "qlandmarkfilter_p.h" #include <QHash> -QTM_BEGIN_NAMESPACE +QT_BEGIN_NAMESPACE class QLandmarkAttributeFilterPrivate : public QLandmarkFilterPrivate { @@ -156,6 +156,7 @@ QLandmarkAttributeFilter::QLandmarkAttributeFilter() /*! \fn QLandmarkAttributeFilter::QLandmarkAttributeFilter(const QLandmarkFilter &other) Constructs a copy of \a other if possible, otherwise constructs a new attribute filter. + \since 1.1 */ /*! @@ -169,6 +170,7 @@ QLandmarkAttributeFilter::~QLandmarkAttributeFilter() Returns the value of the attribute corresponding to \a key. If the attribute isn't set an invalid QVariant is returned. + \since 1.1 */ QVariant QLandmarkAttributeFilter::attribute(const QString &key) const { @@ -183,6 +185,7 @@ QVariant QLandmarkAttributeFilter::attribute(const QString &key) const to define how the string values should be matched. For non-string based attributes the \a flags are ignored. The beahviour of the filter is undefined if an invalid QVariant is used as a \a value + \since 1.1 */ void QLandmarkAttributeFilter::setAttribute(const QString &key, const QVariant &value, QLandmarkFilter::MatchFlags flags) { @@ -198,6 +201,7 @@ void QLandmarkAttributeFilter::setAttribute(const QString &key, const QVariant & set of matching \a flags can be provided to define how the string values should be matched. For non-string based attributes the \a flags are ignored. The behaviour of the filter is undefined if an invalid QVariant is used as \a value. + \since 1.1 */ void QLandmarkAttributeFilter::setAttributes(const QStringList &keys, const QVariant &value, QLandmarkFilter::MatchFlags flags) { @@ -210,6 +214,7 @@ void QLandmarkAttributeFilter::setAttributes(const QStringList &keys, const QVar /*! Removes the attribute corresponding to \a key from the filter. + \since 1.1 */ void QLandmarkAttributeFilter::removeAttribute(const QString &key) { @@ -220,6 +225,7 @@ void QLandmarkAttributeFilter::removeAttribute(const QString &key) /*! Clears all attributes from the filter. + \since 1.1 */ void QLandmarkAttributeFilter::clearAttributes() { @@ -230,6 +236,7 @@ void QLandmarkAttributeFilter::clearAttributes() /*! Returns the keys of all attributes set in the filter. + \since 1.1 */ QStringList QLandmarkAttributeFilter::attributeKeys() const { @@ -240,6 +247,7 @@ QStringList QLandmarkAttributeFilter::attributeKeys() const /*! Returns the operation to be used by the filter when multiple attributes are provided. + \since 1.1 */ QLandmarkAttributeFilter::OperationType QLandmarkAttributeFilter::operationType() const { @@ -250,6 +258,7 @@ QLandmarkAttributeFilter::OperationType QLandmarkAttributeFilter::operationType( /*! Sets the operation to be used by the filter when multiple attributes are provided to \a operationType. + \since 1.1 */ void QLandmarkAttributeFilter::setOperationType(QLandmarkAttributeFilter::OperationType operationType) { @@ -260,6 +269,7 @@ void QLandmarkAttributeFilter::setOperationType(QLandmarkAttributeFilter::Operat /*! Returns the match flags for a particular \a key. The match flags are only take into consideration when the attribute for a particular key is a string. In all other cases the match flags are ignored. + \since 1.1 */ QLandmarkFilter::MatchFlags QLandmarkAttributeFilter::matchFlags(const QString &key) const { @@ -267,4 +277,4 @@ QLandmarkFilter::MatchFlags QLandmarkAttributeFilter::matchFlags(const QString & return d->flags.value(key); } -QTM_END_NAMESPACE +QT_END_NAMESPACE |