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  · 

QContactAnniversary Class Reference

The QContactAnniversary class contains an anniversary of a contact. More...

    #include <QContactAnniversary>

Inherits QContactDetail.


Public Functions

QString calendarId () const
QString event () const
QDate originalDate () const
void setCalendarId ( const QString & calendarId )
void setEvent ( const QString & event )
void setOriginalDate ( const QDate & date )
void setSubType ( const QString & subType )
QString subType () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldCalendarId
const QLatin1Constant FieldEvent
const QLatin1Constant FieldOriginalDate
const QLatin1Constant FieldSubType
const QLatin1Constant SubTypeEmployment
const QLatin1Constant SubTypeEngagement
const QLatin1Constant SubTypeMemorial
const QLatin1Constant SubTypeWedding

Detailed Description

The QContactAnniversary class contains an anniversary of a contact.


Member Function Documentation

QString QContactAnniversary::calendarId () const

* Returns the identifier of the calendar entry associated with this anniversary.

See also setCalendarId().

QString QContactAnniversary::event () const

Returns the name of the event for which this detail contains information.

See also setEvent().

QDate QContactAnniversary::originalDate () const

Returns the original date of occurrence of the event stored in this detail.

See also setOriginalDate().

void QContactAnniversary::setCalendarId ( const QString & calendarId )

Sets the identifier of the calendar entry associated with this anniversary to calendarId.

See also calendarId().

void QContactAnniversary::setEvent ( const QString & event )

Sets the name of the event for which this detail contains information to event.

See also event().

void QContactAnniversary::setOriginalDate ( const QDate & date )

Sets the original date of occurrence of the event stored in this detail to date.

See also originalDate().

void QContactAnniversary::setSubType ( const QString & subType )

Sets the subtype which this detail implements to be the given subType.

See also subType().

QString QContactAnniversary::subType () const

Returns the subtype that this detail implements, if defined.

See also setSubType().


Member Variable Documentation

const QLatin1Constant QContactAnniversary::DefinitionName

The string constant for the definition name of QContactAnniversary details.

const QLatin1Constant QContactAnniversary::FieldCalendarId

The field key constant for the value containing the id of the calendar event.

See also calendarId() and setCalendarId().

const QLatin1Constant QContactAnniversary::FieldEvent

The field key constant for the name of the event value.

See also event() and setEvent().

const QLatin1Constant QContactAnniversary::FieldOriginalDate

The field key constant for the original anniversary date value.

See also originalDate() and setOriginalDate().

const QLatin1Constant QContactAnniversary::FieldSubType

The field key constant for the field that stores the sub type of a QContactAnniversary.

See also subType() and setSubType().

const QLatin1Constant QContactAnniversary::SubTypeEmployment

The predefined string constant for a sub type value, indicating this anniversary is the anniversary of a start of employment.

See also subType() and setSubType().

const QLatin1Constant QContactAnniversary::SubTypeEngagement

The predefined string constant for a sub type value, indicating this anniversary is the anniversary of an engagement.

See also subType() and setSubType().

const QLatin1Constant QContactAnniversary::SubTypeMemorial

The predefined string constant for a sub type value, indicating this anniversary is an anniversary of an event of sentimental significance.

See also subType() and setSubType().

const QLatin1Constant QContactAnniversary::SubTypeWedding

The predefined string constant for a sub type value, indicating this anniversary is a wedding anniversary.

See also subType() and setSubType().

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 44
  2. Microsoft ouvre aux autres compilateurs C++ AMP, la spécification pour la conception d'applications parallèles C++ utilisant le GPU 22
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. RIM : « 13 % des développeurs ont gagné plus de 100 000 $ sur l'AppWord », Qt et open-source au menu du BlackBerry DevCon Europe 0
  5. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
Page suivante

Le Qt Developer Network au hasard

Logo

Compiler l'add-in Qt de Visual Studio

Le Qt Developer Network est un réseau de développeurs Qt anglophone, où ils peuvent partager leur expérience sur le framework. 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.0
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