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  · 

QLandmarkCategoryId Class Reference

The QLandmarkCategoryId class provides a unique identifier for a category. More...

 #include <QLandmarkCategoryId>

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkCategoryId ()
QLandmarkCategoryId ( const QLandmarkCategoryId & other )
~QLandmarkCategoryId ()
bool isValid () const
QString localId () const
QString managerUri () const
void setLocalId ( const QString & id )
void setManagerUri ( const QString & uri )
bool operator!= ( const QLandmarkCategoryId & other ) const
QLandmarkCategoryId & operator= ( const QLandmarkCategoryId & other )
bool operator== ( const QLandmarkCategoryId & other ) const

Detailed Description

The QLandmarkCategoryId class provides a unique identifier for a category.

It consists of a manager URI which identifies the manager which contains the category, and a manager specific local id for that category.

Member Function Documentation

QLandmarkCategoryId::QLandmarkCategoryId ()

Creates an invalid identifier.

The local id and manager URI are empty strings.

QLandmarkCategoryId::QLandmarkCategoryId ( const QLandmarkCategoryId & other )

Constructs a copy of other.

QLandmarkCategoryId::~QLandmarkCategoryId ()

Destroys the identifier.

bool QLandmarkCategoryId::isValid () const

Returns true if the identifier is valid, meaning that both a manager URI and local id have been set

This function was introduced in Qt Mobility 1.1.

QString QLandmarkCategoryId::localId () const

Returns the local id of the category identifier.

This id is specific to a particular landmark manager.

This function was introduced in Qt Mobility 1.1.

See also setLocalId().

QString QLandmarkCategoryId::managerUri () const

Returns the URI of the manager which this category identifer belongs to.

This function was introduced in Qt Mobility 1.1.

See also setManagerUri().

void QLandmarkCategoryId::setLocalId ( const QString & id )

Sets the local id of the category identifier.

This function was introduced in Qt Mobility 1.1.

See also localId().

void QLandmarkCategoryId::setManagerUri ( const QString & uri )

Sets the manager uri which this category identifier belongs to.

This function was introduced in Qt Mobility 1.1.

See also managerUri().

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

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

If either the manager URIs or local ids differ, then the QLandmarkCategoryIds are not considered equal.

This function was introduced in Qt Mobility 1.1.

See also operator==().

QLandmarkCategoryId & QLandmarkCategoryId::operator= ( const QLandmarkCategoryId & other )

Assigns other to this category identifier and returns a reference to this category identifier.

This function was introduced in Qt Mobility 1.1.

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

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

Two QLandmarkCategoryIds are considered equal if both have the same manager URI and local id.

This function was introduced in Qt Mobility 1.1.

See also operator!=().

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 85
  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. Pourquoi les programmeurs sont-ils moins payés que les gestionnaires de programmes ? Manquent-ils de pouvoir de négociation ? 19
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
Page suivante

Le blog Digia au hasard

Logo

Créer des applications avec un style Metro avec Qt, exemples en QML et C++, un article de Digia Qt traduit par Thibaut Cuvelier

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