QCallListItem Class Reference
|
Constant | Value | Description |
---|---|---|
QCallListItem::Dialed | 0 | An outgoing call that was dialed by the user. |
QCallListItem::Received | 1 | An incoming call that was answered by the user. |
QCallListItem::Missed | 2 | An incoming call that was not answered by the user. |
Constructs a null QCallListItem.
Constructs a QCallListItem given the type of call, the phone number and the start and end times of the call. The contact can be optionally specified by contact. serviceType specifies the type of service such as Voice or VoIP. timeZoneId describes the time zone id at the time when the call is made e.g. Australia/Brisbane. If simRecord is true, then the call list item originated from a storage area on a SIM.
Constructs a QCallListItem given the type of call and the phone number. Use this constructor when reading SIM phone books as they contain only call type and phone number. If simRecord is true, then the call list item originated from a storage area on a SIM.
Constructs copy of other.
Destructs the QCallListItem.
Returns the unique id of the contact associated with this call, if any.
Reads the contents of a QCallListItem from stream.
Returns end time of the call, or a null QDateTime if no connection was made for the call in the case of a missed call, or a dialed call that did not connect.
See also start() and originalTimeZoneEnd().
Returns true if this is an invalid call list item.
Returns true if the call item is imported from SIM phone book.
Returns the phone number associated with this call.
Returns the ending time of the call in the original timezone that the user was in when the call was made or received.
This can be useful to display that a call ended at 11:05 am local time, regardless of what the timezone is set to now. The end() function returns the end time in the current timezone.
See also originalTimeZoneStart() and end().
Returns the starting time of the call in the original timezone that the user was in when the call was made or received.
This can be useful to display that a call started at 11:00 am local time, regardless of what the timezone is set to now. The start() function returns the start time in the current timezone.
See also originalTimeZoneEnd() and start().
Writes the contents of a QCallListItem to a stream.
Returns the service type associated with this call (Voice, Data, etc).
Returns the starting time of the call.
See also end() and originalTimeZoneStart().
Returns the time zone id associated with this call (e.g. Australia/Brisbane).
Returns the type of call this item represents. If this item is null, then the return value of this function is undefined.
See also QCallListItem::CallType.
Returns true if this item is different than other or false if they are the same.
Assigns a copy of other to this item.
Returns true if this item is the same as other or false if they are different.
The time properties such as start() and end() are converted to string using Qt::ISODate format for comparison.
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 qtextended4.4 | |
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 ! |
Copyright © 2000-2012 - www.developpez.com