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  · 

QContactOnlineAccount Class Reference

The QContactOnlineAccount class provides an online account, which the contact uses to communicate with friends and family. More...

    #include <QContactOnlineAccount>

Inherits QContactDetail.


Public Functions

QString accountUri () const
QStringList capabilities () const
QString serviceProvider () const
void setAccountUri ( const QString & accountUri )
void setCapabilities ( const QStringList & capabilities )
void setServiceProvider ( const QString & serviceProvider )
void setSubTypes ( const QStringList & subTypes )
void setSubTypes ( const QString & subType )
QStringList subTypes () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAccountUri
const QLatin1Constant FieldCapabilities
const QLatin1Constant FieldServiceProvider
const QLatin1Constant FieldSubTypes
const QLatin1Constant SubTypeImpp
const QLatin1Constant SubTypeSip
const QLatin1Constant SubTypeSipVoip
const QLatin1Constant SubTypeVideoShare

Detailed Description

The QContactOnlineAccount class provides an online account, which the contact uses to communicate with friends and family.

A QContactOnlineAccount consists of the account details required to communicate with the contact, including the account URI, the capabilities of the account, the service provider of the account, and the type of the account.

Presence information for a particular QContactOnlineAccount detail is provided in a QContactPresence detail which is linked (via linkedDetailUris()) to the account detail. This information is generally provided by the backend, and is not modifiable by clients.

See also QContactPresence.


Member Function Documentation

QString QContactOnlineAccount::accountUri () const

Returns the universal resource identifier of the online account of the contact.

See also setAccountUri().

QStringList QContactOnlineAccount::capabilities () const

Returns the capabilities of the online account about which this detail stores presence information.

See also setCapabilities().

QString QContactOnlineAccount::serviceProvider () const

Returns the service provider of the online account of the contact.

See also setServiceProvider().

void QContactOnlineAccount::setAccountUri ( const QString & accountUri )

Sets the universal resource identifier of the contact's online account to accountUri.

See also accountUri().

void QContactOnlineAccount::setCapabilities ( const QStringList & capabilities )

Sets the capabilities of the online account about which this detail stores presence information to capabilities. The capabilities list is a list of service-provider specified strings which together identify the types of communication which may be possible.

See also capabilities().

void QContactOnlineAccount::setServiceProvider ( const QString & serviceProvider )

Sets the service provider of the contact's online account to serviceProvider.

See also serviceProvider().

void QContactOnlineAccount::setSubTypes ( const QStringList & subTypes )

Sets the subtypes which this detail implements to be those contained in the list of given subTypes.

See also subTypes().

void QContactOnlineAccount::setSubTypes ( const QString & subType )

Sets the subtypes which this detail implements to be just the given subType.

QStringList QContactOnlineAccount::subTypes () const

Returns the list of subtypes that this detail implements.

See also setSubTypes().


Member Variable Documentation

const QLatin1Constant QContactOnlineAccount::DefinitionName

The string constant for the definition name of QContactOnlineAccount details.

const QLatin1Constant QContactOnlineAccount::FieldAccountUri

The field key constant for the account uri value.

See also accountUri() and setAccountUri().

const QLatin1Constant QContactOnlineAccount::FieldCapabilities

The field key constant for the account capabilities value.

See also capabilities() and setCapabilities().

const QLatin1Constant QContactOnlineAccount::FieldServiceProvider

The field key constant for the account service provider name.

See also serviceProvider() and setServiceProvider().

const QLatin1Constant QContactOnlineAccount::FieldSubTypes

The field key constant for the field that stores the sub types of a QContactOnlineAccount.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactOnlineAccount::SubTypeImpp

The predefined string constant for a sub type value, indicating this online account supports IMPP.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactOnlineAccount::SubTypeSip

The predefined string constant for a sub type value, indicating this online account supports SIP.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactOnlineAccount::SubTypeSipVoip

The predefined string constant for a sub type value, indicating this online account supports SIP based VOIP.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactOnlineAccount::SubTypeVideoShare

The predefined string constant for a sub type value, indicating this online account supports VideoShare.

See also subTypes() and setSubTypes().

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 88
  2. Apercevoir la troisième dimension ou l'utilisation multithreadée d'OpenGL dans Qt, un article des Qt Quarterly traduit par Guillaume Belz 0
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. Pourquoi les programmeurs sont-ils moins payés que les gestionnaires de programmes ? Manquent-ils de pouvoir de négociation ? 39
  5. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  6. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
  7. 2017 : un quinquennat pour une nouvelle version du C++ ? Possible, selon Herb Sutter 6
Page suivante

Le Qt Quarterly au hasard

Logo

Poppler : afficher des fichiers PDF avec Qt

Qt Quarterly est la revue trimestrielle proposée par Nokia et à destination des développeurs Qt. Ces articles d'une grande qualité technique sont rédigés par des experts Qt. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

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