Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QLandmarkIntersectionFilter Class Reference

The QLandmarkIntersectionFilter class provides a filter which intersects the results of its constituent filters. More...

 #include <QLandmarkIntersectionFilter>

Inherits QLandmarkFilter.

Public Functions

QLandmarkIntersectionFilter ()
QLandmarkIntersectionFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkIntersectionFilter ()
void append ( const QLandmarkFilter & filter )
void clear ()
QList<QLandmarkFilter> filters () const
void prepend ( const QLandmarkFilter & filter )
void remove ( const QLandmarkFilter & filter )
void setFilters ( const QList<QLandmarkFilter> & filters )
QLandmarkIntersectionFilter & operator<< ( const QLandmarkFilter & filter )

Detailed Description

The QLandmarkIntersectionFilter class provides a filter which intersects the results of its constituent filters.

Conceptually it performs an AND operation and thus may be used to select landmarks which match all of it's constituent filters. If the intersection filter contains a proximity filter at the top level (i.e. which is not nested inside another filter) then the landmarks will be sorted by distance according to that filter. Note that a using sort order other than QLandmarkSortOrder (i.e. no sort) will override the sorting by distance).

Whether an intersection filter can be comprised of compound filters (i.e. union or intersection filters) is backend specific. Even if this is supported the performance of such a filter is likely to be poor.

Member Function Documentation

QLandmarkIntersectionFilter::QLandmarkIntersectionFilter ()

Constructs an intersection filter.

QLandmarkIntersectionFilter::QLandmarkIntersectionFilter ( const QLandmarkFilter & other )

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

QLandmarkIntersectionFilter::~QLandmarkIntersectionFilter () [virtual]

Destroys the filter.

void QLandmarkIntersectionFilter::append ( const QLandmarkFilter & filter )

Appends the given filter to the list of intersected filters

See also operator<<(), prepend(), and filters().

void QLandmarkIntersectionFilter::clear ()

Removes all filters from the list of intersected filters.

QList<QLandmarkFilter> QLandmarkIntersectionFilter::filters () const

Returns the list of filters which form the intersection filter

See also setFilters(), prepend(), append(), and remove().

void QLandmarkIntersectionFilter::prepend ( const QLandmarkFilter & filter )

Prepends the given filter to the list of intersected filters

See also append() and filters().

void QLandmarkIntersectionFilter::remove ( const QLandmarkFilter & filter )

Removes the given filter from the list of intersected filters.

See also filters(), append(), and prepend().

void QLandmarkIntersectionFilter::setFilters ( const QList<QLandmarkFilter> & filters )

Sets the filters whose criteria will be intersected.

See also filters().

QLandmarkIntersectionFilter & QLandmarkIntersectionFilter::operator<< ( const QLandmarkFilter & filter )

Appends the given filter to the list of intersected filters

See also append().

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.

[0]; s.parentNode.insertBefore(ga, s); })();
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.1
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web