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  · 

QOrganizerItemFetchForExportRequest Class Reference

The QOrganizerItemFetchForExportRequest class allows a client to asynchronously request organizer items from an organizer item store manager. More...

 #include <QOrganizerItemFetchForExportRequest>

Inherits: QOrganizerAbstractRequest.

This class was introduced in Qt Mobility 1.1.

Public Functions

QOrganizerItemFetchForExportRequest ( QObject * parent = 0 )
~QOrganizerItemFetchForExportRequest ()
QDateTime endDate () const
QOrganizerItemFetchHint fetchHint () const
QOrganizerItemFilter filter () const
QList<QOrganizerItem> items () const
void setEndDate ( const QDateTime & date )
void setFetchHint ( const QOrganizerItemFetchHint & fetchHint )
void setFilter ( const QOrganizerItemFilter & filter )
void setSorting ( const QList<QOrganizerItemSortOrder> & sorting )
void setStartDate ( const QDateTime & date )
QList<QOrganizerItemSortOrder> sorting () const
QDateTime startDate () const

Additional Inherited Members

Detailed Description

The QOrganizerItemFetchForExportRequest class allows a client to asynchronously request organizer items from an organizer item store manager.

For a QOrganizerItemFetchForExportRequest, the resultsAvailable() signal will be emitted when the resultant organizer item (which may be retrieved by calling items()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.

Member Function Documentation

QOrganizerItemFetchForExportRequest::QOrganizerItemFetchForExportRequest ( QObject * parent = 0 )

Constructs a new organizer item fetch request whose parent is the specified parent

This function was introduced in Qt Mobility 1.1.

QOrganizerItemFetchForExportRequest::~QOrganizerItemFetchForExportRequest ()

Frees memory in use by this request

This function was introduced in Qt Mobility 1.2.

QDateTime QOrganizerItemFetchForExportRequest::endDate () const

Returns the date-time which is the upper bound for the range in which items will be returned. An invalid (default-constructed) date-time signifies that no upper bound is given (matches everything after the start date). Note that an item matches if either it or any of its occurrences occur within the defined range.

This function was introduced in Qt Mobility 1.1.

See also setEndDate().

QOrganizerItemFetchHint QOrganizerItemFetchForExportRequest::fetchHint () const

Returns the fetch hint which may be used by the backend to optimize organizer item retrieval. A client should not make changes to an organizer 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 organizer item back to the manager (as the "new" restricted organizer item will replace the previously saved organizer item in the backend).

This function was introduced in Qt Mobility 1.1.

See also setFetchHint() and QOrganizerItemFetchHint.

QOrganizerItemFilter QOrganizerItemFetchForExportRequest::filter () const

Returns the filter that will be used to select organizer items to be returned

This function was introduced in Qt Mobility 1.1.

See also setFilter().

QList<QOrganizerItem> QOrganizerItemFetchForExportRequest::items () const

Returns the list of organizer items retrieved by this request

This function was introduced in Qt Mobility 1.1.

void QOrganizerItemFetchForExportRequest::setEndDate ( const QDateTime & date )

Sets the end period of the request to date. Only has an effect if called prior to calling start()

This function was introduced in Qt Mobility 1.1.

See also endDate().

void QOrganizerItemFetchForExportRequest::setFetchHint ( const QOrganizerItemFetchHint & fetchHint )

Sets the fetch hint which may be used by the backend to optimize organizer item retrieval to fetchHint. A client should not make changes to a organizer 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 organizer item back to the manager (as the "new" restricted organizer item will replace the previously saved organizer item in the backend).

This function was introduced in Qt Mobility 1.1.

See also fetchHint() and QOrganizerItemFetchHint.

void QOrganizerItemFetchForExportRequest::setFilter ( const QOrganizerItemFilter & filter )

Sets the organizer item filter used to determine which organizer items will be retrieved to filter

This function was introduced in Qt Mobility 1.1.

See also filter().

void QOrganizerItemFetchForExportRequest::setSorting ( const QList<QOrganizerItemSortOrder> & sorting )

Sets the sort order of the result to sorting. Only has an effect if called prior to calling start()

This function was introduced in Qt Mobility 1.1.

See also sorting().

void QOrganizerItemFetchForExportRequest::setStartDate ( const QDateTime & date )

Sets the start period of the request to date. Only has an effect if called prior to calling start()

This function was introduced in Qt Mobility 1.1.

See also startDate().

QList<QOrganizerItemSortOrder> QOrganizerItemFetchForExportRequest::sorting () const

Returns the sort ordering that will be used sort the results of this request

This function was introduced in Qt Mobility 1.1.

See also setSorting().

QDateTime QOrganizerItemFetchForExportRequest::startDate () const

Returns the date-time which is the lower bound for the range in which items will be returned. An invalid (default-constructed) date-time signifies that no lower bound is given (matches everything up to the end date). Note that an item matches if either it or any of its occurrences occur within the defined range.

This function was introduced in Qt Mobility 1.1.

See also setStartDate().

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. Les développeurs détestent-ils les antivirus ? Un programmeur manifeste sa haine envers ces solutions de sécurité 23
  2. «Le projet de loi des droits du développeur» : quelles conditions doivent remplir les entreprises pour que le développeur puisse réussir ? 45
  3. Une nouvelle ère d'IHM 3D pour les automobiles, un concept proposé par Digia et implémenté avec Qt 3
  4. Qt Creator 2.5 est sorti en beta, l'EDI supporte maintenant plus de fonctionnalités de C++11 2
  5. PySide devient un add-on Qt et rejoint le Qt Project et le modèle d'open gouvernance 1
  6. Vingt sociétés montrent leurs décodeurs basés sur Qt au IPTV World Forum, en en exploitant diverses facettes (déclaratif, Web, widgets) 0
  7. Thread travailleur avec Qt en utilisant les signaux et les slots, un article de Christophe Dumez traduit par Thibaut Cuvelier 1
  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 ? 50
  4. Les développeurs détestent-ils les antivirus ? Un programmeur manifeste sa haine envers ces solutions de sécurité 23
  5. «Le projet de loi des droits du développeur» : quelles conditions doivent remplir les entreprises pour que le développeur puisse réussir ? 45
  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

Déploiement d'applications Qt Commercial sur les tablettes Windows 8

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