Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QContactGlobalPresence Class Reference

The QContactGlobalPresence class provides aggregated presence information for a contact, synthesized or supplied by the backend. More...

    #include <QContactGlobalPresence>

Inherits QContactDetail.


Public Functions

QString customMessage () const
QString nickname () const
QContactPresence::PresenceState presenceState () const
QUrl presenceStateImageUrl () const
QString presenceStateText () const
void setCustomMessage ( const QString & customMessage )
void setNickname ( const QString & nickname )
void setPresenceState ( QContactPresence::PresenceState presenceState )
void setPresenceStateImageUrl ( const QUrl & presenceStateImageUrl )
void setPresenceStateText ( const QString & presenceStateText )
void setTimestamp ( const QDateTime & updateTimestamp )
QDateTime timestamp () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldCustomMessage
const QLatin1Constant FieldNickname
const QLatin1Constant FieldPresenceState
const QLatin1Constant FieldPresenceStateImageUrl
const QLatin1Constant FieldPresenceStateText
const QLatin1Constant FieldTimestamp

Detailed Description

The QContactGlobalPresence class provides aggregated presence information for a contact, synthesized or supplied by the backend.


Member Function Documentation

QString QContactGlobalPresence::customMessage () const

Returns the custom status message from the contact for the aggregate presence detail.

See also setCustomMessage().

QString QContactGlobalPresence::nickname () const

Returns the last-known nickname used by the contact during communications via any online account about which this detail aggregates presence information.

See also setNickname().

QContactPresence::PresenceState QContactGlobalPresence::presenceState () const

Returns the aggregate presence state of any online accounts about which this detail aggregates presence information.

See also setPresenceState().

QUrl QContactGlobalPresence::presenceStateImageUrl () const

Returns the last-known status image url of the contact.

See also setPresenceStateImageUrl().

QString QContactGlobalPresence::presenceStateText () const

Returns the text corresponding to the current presence state.

See also setPresenceStateText().

void QContactGlobalPresence::setCustomMessage ( const QString & customMessage )

Sets the custom status message from the contact for the aggregate presence detail, to customMessage.

See also customMessage().

void QContactGlobalPresence::setNickname ( const QString & nickname )

Sets the last-known nickname used by the contact during communications via any online account about which this detail aggregates presence information to nickname.

See also nickname().

void QContactGlobalPresence::setPresenceState ( QContactPresence::PresenceState presenceState )

Sets the presence state of this aggregate detail according to the presence information available from the presence providers which this detail aggregates to the given presenceState.

See also presenceState().

void QContactGlobalPresence::setPresenceStateImageUrl ( const QUrl & presenceStateImageUrl )

Sets the last-known status image url of the contact to presenceStateImageUrl.

See also presenceStateImageUrl().

void QContactGlobalPresence::setPresenceStateText ( const QString & presenceStateText )

Sets the text corresponding to the presence state to presenceStateText. This function is generally called by presence providers to allow custom naming of states, or to allow finer grained state reporting than is provided by the presence state API.

See also presenceStateText().

void QContactGlobalPresence::setTimestamp ( const QDateTime & updateTimestamp )

Sets the update timestamp of the global presence detail to be updateTimestamp.

See also timestamp().

QDateTime QContactGlobalPresence::timestamp () const

Returns the timestamp at which the data in the global presence detail was valid.

See also setTimestamp().


Member Variable Documentation

const QLatin1Constant QContactGlobalPresence::DefinitionName

The string constant for the definition name of QContactGlobalPresence details.

const QLatin1Constant QContactGlobalPresence::FieldCustomMessage

The field key constant for the user-entered custom presence message.

See also setCustomMessage() and customMessage().

const QLatin1Constant QContactGlobalPresence::FieldNickname

The field key constant for the nickname value.

See also setNickname() and nickname().

const QLatin1Constant QContactGlobalPresence::FieldPresenceState

The field key constant for the presence state enumeration value.

See also setPresenceState() and presenceState().

const QLatin1Constant QContactGlobalPresence::FieldPresenceStateImageUrl

The field key constant for the presence state image URL.

See also setPresenceStateImageUrl() and presenceStateImageUrl().

const QLatin1Constant QContactGlobalPresence::FieldPresenceStateText

The field key constant for the presence state description value.

See also setPresenceStateText() and presenceStateText().

const QLatin1Constant QContactGlobalPresence::FieldTimestamp

The field key constant for the timestamp value.

See also setTimestamp() and timestamp().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.0
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web