aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorAlexander Jones <aj@dneg.com>2012-04-18 21:51:15 +0100
committerHugo Parente Lima <hugo.lima@openbossa.org>2012-04-19 00:22:44 +0200
commit6f93c2029e9f076de1be7d8f674b3c99f664d0a1 (patch)
tree22d4bc8fc297c3264b11fe2aad33583c2185ad34 /PySide
parentf011ce2cb9e2b93a748874de007232ec88cc8ac1 (diff)
Add hash-function for QModelIndex and QPersistenModelIndex
Change-Id: I2725e78a1006fbee54894f202997e2e408998551 Task-number: PYSIDE-41 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtCore/typesystem_core_common.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core_common.xml b/PySide/QtCore/typesystem_core_common.xml
index 2e8313122..5ef1466fc 100644
--- a/PySide/QtCore/typesystem_core_common.xml
+++ b/PySide/QtCore/typesystem_core_common.xml
@@ -1634,7 +1634,7 @@
</inject-code>
</add-function>
</value-type>
- <value-type name="QPersistentModelIndex">
+ <value-type name="QPersistentModelIndex" hash-function="qHash">
<modify-function signature="internalPointer()const">
<inject-code class="target" position="beginning">
<insert-template name="return_internal_pointer" />
@@ -3623,7 +3623,7 @@
</modify-argument>
</modify-function>
</object-type>
- <value-type name="QModelIndex">
+ <value-type name="QModelIndex" hash-function="qHash">
<modify-function signature="internalPointer()const">
<inject-code class="target" position="beginning">
<insert-template name="return_internal_pointer" />