IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QHash

Qt XML Patterns Reference Documentation.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Function Documentation

 

[since 4.4] uint qHash(const QXmlNodeModelIndex &index)

Computes a hash key from the QXmlNodeModelIndex index, and returns it. This function would be used by QHash if you wanted to build a hash table for instances of QXmlNodeModelIndex.

The hash is computed on QXmlNodeModelIndex::data(), QXmlNodeModelIndex::additionalData(), and QXmlNodeModelIndex::model(). This means the hash key can be used for node indexes from different node models.

This function was introduced in Qt 4.4.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+