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 引入。