Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QContactItemModel class provides a QStandardItemModel based class representing a list of QContacts. More...
#include <QContactItemModel>
Inherits QStandardItemModel.
The QContactItemModel class provides a QStandardItemModel based class representing a list of QContacts.
By using QContactItemModel and (QContactItem), views of arbitrary collections of contacts can be created. This class provides convenience functions that operate on QContacts on top of the QStandardItemModel API.
See also QContactItem and QStandardItemModel.
Create a QContactItemModel with the specified parent.
Destroys this QContactItemModel.
This is a convenience function. Add a contact to this model. The contact, subLabel and statusIcon parameters are used to create a QContactItem, and the item is then added to this model.
See also QContactItem.
Returns a list of the labels of the items in this model.
This corresponds to the item's QContactModel::LabelRole data.
See also subLabels().
Returns a list of the secondary labels of the items in this model.
This corresponds to the item's QContactModel::SubLabelRole data.
See also labels().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |