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  · 

QGeoAddress Class Reference

The QGeoAddress class represents an address More...

 #include <QGeoAddress>

This class was introduced in Qt Mobility 1.1.

Public Functions

QGeoAddress ()
QGeoAddress ( const QGeoAddress & other )
~QGeoAddress ()
QString city () const
void clear ()
QString country () const
QString countryCode () const
QString county () const
QString district () const
bool isEmpty () const
QString postcode () const
void setCity ( const QString & city )
void setCountry ( const QString & country )
void setCountryCode ( const QString & countryCode )
void setCounty ( const QString & county )
void setDistrict ( const QString & district )
void setPostcode ( const QString & postcode )
void setState ( const QString & state )
void setStreet ( const QString & street )
QString state () const
QString street () const
bool operator!= ( const QGeoAddress & other ) const
QGeoAddress & operator= ( const QGeoAddress & address )
bool operator== ( const QGeoAddress & other ) const

Detailed Description

The QGeoAddress class represents an address

This class represents an address of a location.

Member Function Documentation

QGeoAddress::QGeoAddress ()

Default constructor.

QGeoAddress::QGeoAddress ( const QGeoAddress & other )

Constructs a copy of other.

This function was introduced in Qt Mobility 1.1.

QGeoAddress::~QGeoAddress ()

Destroys this address.

QString QGeoAddress::city () const

Returns the city.

This function was introduced in Qt Mobility 1.1.

See also setCity().

void QGeoAddress::clear ()

Clears the all the address' data fields.

This function was introduced in Qt Mobility 1.1.

QString QGeoAddress::country () const

Returns the country name.

This function was introduced in Qt Mobility 1.1.

See also setCountry().

QString QGeoAddress::countryCode () const

Returns the country code according to ISO 3166-1 alpha-3

This function was introduced in Qt Mobility 1.1.

See also setCountryCode().

QString QGeoAddress::county () const

Returns the county. The county is considered the second subdivision below country.

This function was introduced in Qt Mobility 1.1.

See also setCounty().

QString QGeoAddress::district () const

Returns the district. The district is considered the subdivison below city.

This function was introduced in Qt Mobility 1.1.

See also setDistrict().

bool QGeoAddress::isEmpty () const

Returns whether this address is empty. An address is considered empty if all of its fields are empty.

This function was introduced in Qt Mobility 1.1.

QString QGeoAddress::postcode () const

Returns the post code.

This function was introduced in Qt Mobility 1.1.

See also setPostcode().

void QGeoAddress::setCity ( const QString & city )

Sets the city.

This function was introduced in Qt Mobility 1.1.

See also city().

void QGeoAddress::setCountry ( const QString & country )

Sets the country name.

This function was introduced in Qt Mobility 1.1.

See also country().

void QGeoAddress::setCountryCode ( const QString & countryCode )

Sets the countryCode according to ISO 3166-1 alpha-3

This function was introduced in Qt Mobility 1.1.

See also countryCode().

void QGeoAddress::setCounty ( const QString & county )

Sets the county.

This function was introduced in Qt Mobility 1.1.

See also county().

void QGeoAddress::setDistrict ( const QString & district )

Sets the district.

This function was introduced in Qt Mobility 1.1.

See also district().

void QGeoAddress::setPostcode ( const QString & postcode )

Sets the postcode.

This function was introduced in Qt Mobility 1.1.

See also postcode().

void QGeoAddress::setState ( const QString & state )

Sets the state.

This function was introduced in Qt Mobility 1.1.

See also state().

void QGeoAddress::setStreet ( const QString & street )

Sets the street-level component of the address to street.

This typically includes a street number and street name but may also contain things like a unit number, a building name, or anything else that might be used to distinguish one address from another.

This function was introduced in Qt Mobility 1.1.

See also street().

QString QGeoAddress::state () const

Returns the state. The state is considered the first subdivision below country.

This function was introduced in Qt Mobility 1.1.

See also setState().

QString QGeoAddress::street () const

Returns the street-level component of the address.

This typically includes a street number and street name but may also contain things like a unit number, a building name, or anything else that might be used to distinguish one address from another.

This function was introduced in Qt Mobility 1.1.

See also setStreet().

bool QGeoAddress::operator!= ( const QGeoAddress & other ) const

Returns true if this address is not equal to other, otherwise returns false.

This function was introduced in Qt Mobility 1.1.

QGeoAddress & QGeoAddress::operator= ( const QGeoAddress & address )

Assigns the given address to this address and returns a reference to this address.

This function was introduced in Qt Mobility 1.1.

bool QGeoAddress::operator== ( const QGeoAddress & other ) const

Returns true if this address is equal to other, otherwise returns false.

This function was introduced in Qt Mobility 1.1.

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 94
  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. Pourquoi les programmeurs sont-ils moins payés que les gestionnaires de programmes ? Manquent-ils de pouvoir de négociation ? 45
  4. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  5. Les développeurs détestent-ils les antivirus ? Un programmeur manifeste sa haine envers ces solutions de sécurité 6
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Qt Commercial : Digia organise un webinar gratuit le 27 mars sur la conception d'interfaces utilisateur et d'applications avec le framework 0
Page suivante

Le blog Digia au hasard

Logo

Une nouvelle ère d'IHM 3D pour les automobiles

Le blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. 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.2
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