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  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QOrganizerItemFetchByIdRequest Class

The QOrganizerItemFetchByIdRequest class allows a client to asynchronously fetch items from a backend, given a list of item IDs. More...

 #include <QOrganizerItemFetchByIdRequest>

Inherits: QOrganizerAbstractRequest.

Public Functions

QOrganizerItemFetchByIdRequest(QObject * parent = 0)
~QOrganizerItemFetchByIdRequest()
QMap<int, QOrganizerManager::Error> errorMap() const
QOrganizerItemFetchHint fetchHint() const
QList<QOrganizerItemId> ids() const
QList<QOrganizerItem> items() const
void setFetchHint(const QOrganizerItemFetchHint & fetchHint)
void setIds(const QList<QOrganizerItemId> & ids)

Additional Inherited Members

Detailed Description

The QOrganizerItemFetchByIdRequest class allows a client to asynchronously fetch items from a backend, given a list of item IDs.

The items fetched by the backend should have a one-to-one correspondence to the IDs passed into this class. That is, the nth item in the returned list should have an ID which is equal to the nth ID in the list of IDs. Any invalid ID should correspond to an empty QOrganizerItem.

Member Function Documentation

QOrganizerItemFetchByIdRequest::QOrganizerItemFetchByIdRequest(QObject * parent = 0)

Constructs a new item fetch by ID request whose parent is the specified parent.

QOrganizerItemFetchByIdRequest::~QOrganizerItemFetchByIdRequest()

Frees any memory used by this request.

QMap<int, QOrganizerManager::Error> QOrganizerItemFetchByIdRequest::errorMap() const

Returns the map of input definition list indices to errors which occurred.

QOrganizerItemFetchHint QOrganizerItemFetchByIdRequest::fetchHint() const

Returns the fetch hint which may be used by the backend to optimize item retrieval.

A client should not make changes to a item which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the item back to the manager (as the "new" restricted item will replace the previously saved item in the backend).

See also setFetchHint().

QList<QOrganizerItemId> QOrganizerItemFetchByIdRequest::ids() const

Returns the list of IDs of the items that the backend should retrieve.

See also setIds().

QList<QOrganizerItem> QOrganizerItemFetchByIdRequest::items() const

Returns the list of items retrieved by this request.

void QOrganizerItemFetchByIdRequest::setFetchHint(const QOrganizerItemFetchHint & fetchHint)

Sets the fetch hint which may be used by the backend to optimize item retrieval to fetchHint.

A client should not make changes to a item which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the item back to the manager (as the "new" restricted item will replace the previously saved item in the backend).

See also fetchHint().

void QOrganizerItemFetchByIdRequest::setIds(const QList<QOrganizerItemId> & ids)

Sets the list of IDs of the items that the backend should retrieve to ids.

See also ids().

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 5.0-snapshot
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