diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-23 08:29:18 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-23 09:45:49 -0300 |
commit | 290d773b323e8a0c7e9178b4c7997dcb2db5ba97 (patch) | |
tree | c65589841192ed715a39436519ba8dde804a19e0 /PySide/QtGui/typesystem_gui_common.xml | |
parent | c424162a0380609eed447fd370467813242fec08 (diff) |
Adds a hash function to QTreeWidgetItem objects.
A "hashable" unit test was added as well.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Diffstat (limited to 'PySide/QtGui/typesystem_gui_common.xml')
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 5e1d6b4db..42293461a 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -2856,7 +2856,7 @@ </modify-argument> </modify-function> </object-type> - <object-type name="QTreeWidgetItem" > + <object-type name="QTreeWidgetItem" hash-function="qHash"> <modify-function signature="operator<(QTreeWidgetItem)const"> <modify-argument index="1" invalidate-after-use="yes"/> </modify-function> |