Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The CallContactItem class provides a wrapper for call entries. More...
#include <CallContactItem>
Inherits QObject.
The CallContactItem class provides a wrapper for call entries.
It simplifies the interaction between CallContactModel and CallContactListView and connects the actual call data such as the phone number with a contact.
This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.
See also CallContactListView, CallContactDelegate, and CallContactModel.
Creates a new CallContactItem with the given parent. The item is based on the call information provided by cli.
See also QCallListItem.
Returns the call data associated with this item.
Returns the contact associated to the call entry.
See also setContact().
Returns the id of the associated contact.
Returns the pixmap for this call entry.
The most useful pixmap is the contacts image. If the contact doesn't have a protrait the phone numbers type (dialed/received/missed) pixmap is returned.
Returns an icon representing the contact model field of the call entry. Returns a null icon if no icon is available.
See also QContactModel::fieldIcon().
If this call item is associated to a contact this function returns the called number. Otherwise the extra information contains the call details such as "Dialed 2. March 14:30".
Returns the type of the associated contact field.
See also QContactModel::Field.
Returns the phone number associated to this call item.
The given number becomes associated to contact.
See also contact().
This is an overloaded member function, provided for convenience.
The contact item becomes associated with id and model is used to to lookup the details of id.
Translates the QCallListItem::CallType enum value st into the appropriate QCallList::ListType field.
Returns a suitable display string for the contact or the phone number of this entry if no contact information is avilable.
Returns the pixmap for type.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |