QHash Proxy Page

函數

uint qHash (const QXmlNodeModelIndex & index )

函數文檔編製

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 (),和 QXmlNodeModelIndex::model (). This means the hash key can be used for node indexes from different node models.

該函數在 Qt 4.4 引入。