Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QCallListItem class specifies information about a single dialed, received or missed call in a QCallList set. More...
#include <QCallListItem>
The QCallListItem class specifies information about a single dialed, received or missed call in a QCallList set.
See also QCallList.
This enum defines the types of calls that may be recorded.
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.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |