QContactDisplayLabel Class
The QContactDisplayLabel class contains a displayLabel of a contact. More...
Header: | #include <QContactDisplayLabel> |
Inherits: | QContactDetail. |
Public Types
enum | DisplayLabelField { FieldLabel } |
Public Functions
- 22 public functions inherited from QContactDetail
Static Public Members
Detailed Description
The QContactDisplayLabel class contains a displayLabel of a contact.
Member Type Documentation
enum QContactDisplayLabel::DisplayLabelField
This enumeration defines the fields supported by QContactDisplayLabel.
Constant | Value | Description |
---|---|---|
QContactDisplayLabel::FieldLabel | 0 | The value stored in this field contains the displaylabel. |
Member Function Documentation
QString QContactDisplayLabel::label() const
Returns the displayLabel of the contact which is stored in this detail.
See also setLabel().
[static]
QContactFilter QContactDisplayLabel::match(const QString & label)
Returns a filter suitable for finding contacts with a display label containing the specified label.
void QContactDisplayLabel::setLabel(const QString & displayLabel)
Sets the displayLabel of the contact which is stored in this detail to displayLabel. displayLabel can be for example the first name of a contact.
See also label().
Member Variable Documentation
const DetailType QContactDisplayLabel::Type
The enum constant for the type identifier of QContactDisplayLabel details.