The QContactBirthday class contains a birthday of a contact. More...
#include <QContactBirthday>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
QString | calendarId () const |
QDate | date () const |
QDateTime | dateTime () const |
void | setCalendarId ( const QString & calendarId ) |
void | setDate ( const QDate & date ) |
void | setDateTime ( const QDateTime & dateTime ) |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldBirthday |
const QLatin1Constant | FieldCalendarId |
The QContactBirthday class contains a birthday of a contact.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
* Returns the identifier of the calendar entry associated with this birthday.
See also setCalendarId().
Returns the date of the birthday which is stored in this detail. If the birthday stored is a QDateTime, this returns the date portion.
This function was introduced in Qt Mobility 1.0.
See also setDate().
Returns the date and time of the birthday which is stored in this detail. If the birthday stored is a QDate, this returns a QDateTime with the time set to midnight.
See also setDateTime().
Sets the identifier of the calendar entry associated with this birthday to calendarId.
See also calendarId().
Sets the date of the birthday which is stored in this detail to date.
This function was introduced in Qt Mobility 1.0.
See also date().
Sets the date and time of the birthday which is stored in this detail to dateTime.
See also dateTime().
The string constant for the definition name of QContactBirthday details.
The field key constant for the value containing the birthday date.
This field is either a date, or a date and time. Some managers may support either type, while others may convert the value here to a specific type (either discarding the time if only a date is supported, or by using midnight if a time is not supplied).
See also date(), setDate(), dateTime(), and setDateTime().
The field key constant for the value containing the id of the calendar event.
See also calendarId() and setCalendarId().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.