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  · 

QOrganizerTodoOccurrence Class Reference

The QOrganizerTodoOccurrence class provides an occurrence of a task which should be completed More...

 #include <QOrganizerTodoOccurrence>

Inherits: QOrganizerItem.

This class was introduced in Qt Mobility 1.1.

Public Functions

QDateTime dueDateTime () const
QDateTime finishedDateTime () const
QDate originalDate () const
QOrganizerItemId parentId () const
QOrganizerItemPriority::Priority priority () const
int progressPercentage () const
void setDueDateTime ( const QDateTime & dueDateTime )
void setFinishedDateTime ( const QDateTime & finishedDateTime )
void setOriginalDate ( const QDate & date )
void setParentId ( const QOrganizerItemId & parentId )
void setPriority ( QOrganizerItemPriority::Priority priority )
void setProgressPercentage ( int percentage )
void setStartDateTime ( const QDateTime & startDateTime )
void setStatus ( QOrganizerTodoProgress::Status status )
QDateTime startDateTime () const
QOrganizerTodoProgress::Status status () const

Detailed Description

The QOrganizerTodoOccurrence class provides an occurrence of a task which should be completed

A todo occurrence is a specific instance of a todo item. An occurrence which is retrieved from a manager may not actually be persisted in that manager (for example, it may be generated automatically from the recurrence rule of the parent todo stored in the manager), in which case it will have a zero-id and differ from the parent todo only in its start date. Alternatively, it may be persisted in the manager (that is, the client has saved the occurrence previously) where it is stored as an exception to its parent todo.

Member Function Documentation

QDateTime QOrganizerTodoOccurrence::dueDateTime () const

Returns the date time by which the task should be completed. For all-day tasks, the time part is meaningless.

This function was introduced in Qt Mobility 1.1.

See also setDueDateTime().

QDateTime QOrganizerTodoOccurrence::finishedDateTime () const

Returns the date and time at which the task described by the todo occurrence was completed, if known.

This function was introduced in Qt Mobility 1.1.

See also setFinishedDateTime().

QDate QOrganizerTodoOccurrence::originalDate () const

Returns the date at which the occurrence was originally going to occur.

This function was introduced in Qt Mobility 1.1.

See also setOriginalDate().

QOrganizerItemId QOrganizerTodoOccurrence::parentId () const

Returns the id of the todo which is this occurrence's parent

This function was introduced in Qt Mobility 1.1.

See also setParentId().

QOrganizerItemPriority::Priority QOrganizerTodoOccurrence::priority () const

Returns the priority of the todo occurrence.

This function was introduced in Qt Mobility 1.1.

See also setPriority().

int QOrganizerTodoOccurrence::progressPercentage () const

Returns the percentage of progress completed on the task described by the todo occurrence.

This function was introduced in Qt Mobility 1.1.

See also setProgressPercentage().

void QOrganizerTodoOccurrence::setDueDateTime ( const QDateTime & dueDateTime )

Sets the date time by which the task should be completed to dueDateTime. For all-day tasks, the time part can be set to any valid value.

This function was introduced in Qt Mobility 1.1.

See also dueDateTime().

void QOrganizerTodoOccurrence::setFinishedDateTime ( const QDateTime & finishedDateTime )

Sets the date and time at which the task described by the todo occurrence was completed to finishedDateTime

This function was introduced in Qt Mobility 1.1.

See also finishedDateTime().

void QOrganizerTodoOccurrence::setOriginalDate ( const QDate & date )

Sets the date at which this occurrence was originally going to occur, to the given date.

This function was introduced in Qt Mobility 1.1.

See also originalDate().

void QOrganizerTodoOccurrence::setParentId ( const QOrganizerItemId & parentId )

Sets the todo occurrence's parent to be the todo identified by the given parentId

This function was introduced in Qt Mobility 1.1.

See also parentId().

void QOrganizerTodoOccurrence::setPriority ( QOrganizerItemPriority::Priority priority )

Sets the priority of the todo occurrence to priority

This function was introduced in Qt Mobility 1.1.

See also priority().

void QOrganizerTodoOccurrence::setProgressPercentage ( int percentage )

Sets the percentage of progress completed on the task described by the todo occurrence item to percentage

This function was introduced in Qt Mobility 1.1.

See also progressPercentage().

void QOrganizerTodoOccurrence::setStartDateTime ( const QDateTime & startDateTime )

Sets the date time at which the task should be started to startDateTime. For all-day tasks, the time part can be set to any valid value.

This function was introduced in Qt Mobility 1.1.

See also startDateTime().

void QOrganizerTodoOccurrence::setStatus ( QOrganizerTodoProgress::Status status )

Sets the progress status of the todo occurrence to status

This function was introduced in Qt Mobility 1.1.

See also status().

QDateTime QOrganizerTodoOccurrence::startDateTime () const

Returns the date time at which the task should be started. For all-day tasks, the time part is meaningless.

This function was introduced in Qt Mobility 1.1.

See also setStartDateTime().

QOrganizerTodoProgress::Status QOrganizerTodoOccurrence::status () const

Returns the progress status of the task described by the todo occurrence

This function was introduced in Qt Mobility 1.1.

See also setStatus().

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 ? 47
  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é 13
  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 Qt Labs au hasard

Logo

Améliorer les performances de Qt lors du rendu avec plus de SIMD

Les Qt Labs sont les laboratoires des développeurs de Qt, où ils peuvent partager des impressions sur le framework, son utilisation, ce que pourrait être son futur. 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