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  · 

QLandmarkCategoryRemoveRequest Class Reference

The QLandmarkCategoryRemoveRequest class allows a client to asynchronously request that certain categories be removed from a landmark manager. More...

 #include <QLandmarkCategoryRemoveRequest>

Inherits: QLandmarkAbstractRequest.

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkCategoryRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 )
~QLandmarkCategoryRemoveRequest ()
QList<QLandmarkCategoryId> categoryIds () const
QMap<int, QLandmarkManager::Error> errorMap () const
void setCategories ( const QList<QLandmarkCategory> & categories )
void setCategory ( const QLandmarkCategory & category )
void setCategoryId ( const QLandmarkCategoryId & categoryId )
void setCategoryIds ( const QList<QLandmarkCategoryId> & categoryIds )

Additional Inherited Members

Detailed Description

The QLandmarkCategoryRemoveRequest class allows a client to asynchronously request that certain categories be removed from a landmark manager.

For a QLandmarkCategoryRemoveRequest, the resultsAvailable() signal will be emitted when either an individual items error out (individaul errors may be retrieved by calling errorMap()) or an overall operation error occurs(which may be retrieved by calling QLandmarkAbstractRequest::error()).

Please see the class documentation for QLandmarkAbstractRequest for more information about the usage of request classes and ownership semantics.

Member Function Documentation

QLandmarkCategoryRemoveRequest::QLandmarkCategoryRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 )

Constructs a category remove request with the given manager and parent.

QLandmarkCategoryRemoveRequest::~QLandmarkCategoryRemoveRequest ()

Destroys the request object.

QList<QLandmarkCategoryId> QLandmarkCategoryRemoveRequest::categoryIds () const

Returns the list of identifiers of categories which will be removed.

This function was introduced in Qt Mobility 1.1.

See also setCategoryIds().

QMap<int, QLandmarkManager::Error> QLandmarkCategoryRemoveRequest::errorMap () const

Returns the mapping of input category ID list indices to the errors which occurred.

This function was introduced in Qt Mobility 1.1.

void QLandmarkCategoryRemoveRequest::setCategories ( const QList<QLandmarkCategory> & categories )

Convenience function to set the list of categories which will be removed. This function effectively calls setCategoryIds() with the IDs of the categories.

This function was introduced in Qt Mobility 1.1.

See also setCategory() and setCategoryIds().

void QLandmarkCategoryRemoveRequest::setCategory ( const QLandmarkCategory & category )

Convenience function that sets a single category to be removed. This function effectively calls setCategoryIds() with the ID of category.

This function was introduced in Qt Mobility 1.1.

See also setCategories() and setCategoryId().

void QLandmarkCategoryRemoveRequest::setCategoryId ( const QLandmarkCategoryId & categoryId )

Convenience function to set the categoryId of a single category to be removed. It is the equivalent of calling setCategoryIds() with a single categoryId in the ID list.

This function was introduced in Qt Mobility 1.1.

See also setCategory() and setCategoryIds().

void QLandmarkCategoryRemoveRequest::setCategoryIds ( const QList<QLandmarkCategoryId> & categoryIds )

Sets the list of categoryIds of categories which will be removed.

This function was introduced in Qt Mobility 1.1.

See also categoryIds(), setCategories(), and setCategoryId().

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 94
  2. Apercevoir la troisième dimension ou l'utilisation multithreadée d'OpenGL dans Qt, un article des Qt Quarterly traduit par Guillaume Belz 0
  3. Pourquoi les programmeurs sont-ils moins payés que les gestionnaires de programmes ? Manquent-ils de pouvoir de négociation ? 45
  4. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  5. Les développeurs détestent-ils les antivirus ? Un programmeur manifeste sa haine envers ces solutions de sécurité 6
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Qt Commercial : Digia organise un webinar gratuit le 27 mars sur la conception d'interfaces utilisateur et d'applications avec le framework 0
Page suivante

Le blog Digia au hasard

Logo

Une nouvelle ère d'IHM 3D pour les automobiles

Le blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

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.2
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