aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-06-08 17:42:43 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-06-08 18:00:02 -0300
commitbf8a60db4cdbfc3e7c9c98778b219e9c83746d44 (patch)
tree6d7b4c00e220b17fc676d2617158af3e6e1dc021 /PySide/QtCore
parentcf6e5f16687a0b28677a5c4ff035eebc5424272d (diff)
Created support to hash objects with type QDate, QTime, QDateTime, QUrl.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 3b3a46b00..d68addd19 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -992,7 +992,7 @@
<value-type name="QLatin1Char" />
<value-type name="QBasicTimer"/>
<value-type name="QByteArrayMatcher"/>
- <value-type name="QDate">
+ <value-type name="QDate" hash-function="PySide::hash" >
<modify-function signature="julianToGregorian(uint,int&amp;,int&amp;,int&amp;)" remove="all"/>
<modify-function signature="getDate(int*,int*,int*)" >
<modify-argument index="1">
@@ -1024,7 +1024,7 @@
</inject-code>
</modify-function>
</value-type>
- <value-type name="QDateTime"/>
+ <value-type name="QDateTime" hash-function="PySide::hash"/>
<value-type name="QDir">
<modify-function signature="QDir(QString,QString,QFlags&lt;QDir::SortFlag>,QFlags&lt;QDir::Filter>)" remove="all" />
</value-type>
@@ -1063,7 +1063,7 @@
</value-type>
<value-type name="QStringMatcher"/>
- <value-type name="QTime"/>
+ <value-type name="QTime" hash-function="PySide::hash"/>
<value-type name="QPersistentModelIndex">
<modify-function signature="internalPointer()const" remove="all"/>
<modify-function signature="operator const QModelIndex&amp;()const" remove="all" /> <!-- FIXME Removed due to a shiboken bug-->
@@ -1681,7 +1681,7 @@
<include file-name="QSize" location="global"/>
</extra-includes>
</object-type>
- <value-type name="QUrl">
+ <value-type name="QUrl" hash-function="PySide::hash">
<extra-includes>
<include file-name="QStringList" location="global"/>
</extra-includes>