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

版权所有  © 2014-2025 乐数软件    

工业和信息化部: 粤ICP备14079481号-1