Home · All Classes · All Functions ·

QContactUrl Class Reference

The QContactUrl class contains a url associated with a contact. More...

    #include <QContactUrl>

Inherits QContactDetail.


Public Functions

void setSubType ( const QString & subType )
void setUrl ( const QString & url )
QString subType () const
QString url () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldSubType
const QLatin1Constant FieldUrl
const QLatin1Constant SubTypeFavourite
const QLatin1Constant SubTypeHomePage

Detailed Description

The QContactUrl class contains a url associated with a contact.


Member Function Documentation

void QContactUrl::setSubType ( const QString & subType )

Sets the subtype which this detail implements to be the given subType.

See also subType().

void QContactUrl::setUrl ( const QString & url )

Sets the url stored in this detail to url.

See also url().

QString QContactUrl::subType () const

Returns the subtype that this detail implements, if defined.

See also setSubType().

QString QContactUrl::url () const

Returns the url stored in this detail.

See also setUrl().


Member Variable Documentation

const QLatin1Constant QContactUrl::DefinitionName

The string constant for the definition name of QContactUrl details.

const QLatin1Constant QContactUrl::FieldSubType

The field key constant for the field that stores the sub type of a QContactUrl.

See also subType() and setSubType().

const QLatin1Constant QContactUrl::FieldUrl

The field key constant for the value containing the URL.

See also url() and setUrl().

const QLatin1Constant QContactUrl::SubTypeFavourite

The predefined string constant for a sub type value, indicating this url is one of the contact's favourite URLs (or bookmarks).

See also subType() and setSubType().

const QLatin1Constant QContactUrl::SubTypeHomePage

The predefined string constant for a sub type value, indicating this url is a contact's home page.

See also subType() and setSubType().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.2