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  · 

QContactAddress Class Reference

The QContactAddress class contains an address of a contact. More...

    #include <QContactAddress>

Inherits QContactDetail.


Public Functions

QString country () const
QString locality () const
QString postOfficeBox () const
QString postcode () const
QString region () const
void setCountry ( const QString & country )
void setLocality ( const QString & locality )
void setPostOfficeBox ( const QString & postOfficeBox )
void setPostcode ( const QString & postcode )
void setRegion ( const QString & region )
void setStreet ( const QString & street )
void setSubTypes ( const QStringList & subTypes )
void setSubTypes ( const QString & subType )
QString street () const
QStringList subTypes () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldCountry
const QLatin1Constant FieldLocality
const QLatin1Constant FieldPostOfficeBox
const QLatin1Constant FieldPostcode
const QLatin1Constant FieldRegion
const QLatin1Constant FieldStreet
const QLatin1Constant FieldSubTypes
const QLatin1Constant SubTypeDomestic
const QLatin1Constant SubTypeInternational
const QLatin1Constant SubTypeParcel
const QLatin1Constant SubTypePostal

Detailed Description

The QContactAddress class contains an address of a contact.


Member Function Documentation

QString QContactAddress::country () const

Returns the country segment of the address stored in this detail.

See also setCountry().

QString QContactAddress::locality () const

Returns the locality segment of the address stored in this detail.

See also setLocality().

QString QContactAddress::postOfficeBox () const

Returns the post office box segment of the address stored in this detail.

See also setPostOfficeBox().

QString QContactAddress::postcode () const

Returns the postcode segment of the address stored in this detail.

See also setPostcode().

QString QContactAddress::region () const

Returns the region segment of the address stored in this detail.

See also setRegion().

void QContactAddress::setCountry ( const QString & country )

Sets the country segment of the address stored in this detail to country.

See also country().

void QContactAddress::setLocality ( const QString & locality )

Sets the locality segment of the address stored in this detail to locality.

See also locality().

void QContactAddress::setPostOfficeBox ( const QString & postOfficeBox )

Sets the post office box segment of the address stored in this detail to postOfficeBox.

See also postOfficeBox().

void QContactAddress::setPostcode ( const QString & postcode )

Sets the postcode segment of the address stored in this detail to postcode.

See also postcode().

void QContactAddress::setRegion ( const QString & region )

Sets the region segment of the address stored in this detail to region.

See also region().

void QContactAddress::setStreet ( const QString & street )

Sets the street segment of the address stored in this detail to street.

See also street().

void QContactAddress::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 QContactAddress::setSubTypes ( const QString & subType )

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

QString QContactAddress::street () const

Returns the street segment of the address stored in this detail.

See also setStreet().

QStringList QContactAddress::subTypes () const

Returns the list of subtypes that this detail implements.

See also setSubTypes().


Member Variable Documentation

const QLatin1Constant QContactAddress::DefinitionName

The string constant for the definition name of QContactAddress details.

const QLatin1Constant QContactAddress::FieldCountry

The field key constant for the value containing the country segment.

See also country() and setCountry().

const QLatin1Constant QContactAddress::FieldLocality

The field key constant for the value containing the locality segment.

See also locality() and setLocality().

const QLatin1Constant QContactAddress::FieldPostOfficeBox

The field key constant for the value containing the post office box segment.

See also postOfficeBox() and setPostOfficeBox().

const QLatin1Constant QContactAddress::FieldPostcode

The field key constant for the value containing the postcode segment.

See also postcode() and setPostcode().

const QLatin1Constant QContactAddress::FieldRegion

The field key constant for the value containing the region segment.

See also region() and setRegion().

const QLatin1Constant QContactAddress::FieldStreet

The field key constant for the value containing the street segment.

See also street() and setStreet().

const QLatin1Constant QContactAddress::FieldSubTypes

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

See also subTypes() and setSubTypes().

const QLatin1Constant QContactAddress::SubTypeDomestic

The predefined string constant for a sub type value, indicating this address is an address for domestic mail delivery.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactAddress::SubTypeInternational

The predefined string constant for a sub type value, indicating this address is an address for international mail delivery.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactAddress::SubTypeParcel

The predefined string constant for a sub type value, indicating this address is an address for parcel delivery.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactAddress::SubTypePostal

The predefined string constant for a sub type value, indicating this address is an address for postal delivery.

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 82
  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. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  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

Les formes du pluriel dans les traductions

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