aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-08 11:11:28 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-12 17:30:02 -0300
commit7a3f28e1bf742f689200a981e28de8f9222508b2 (patch)
tree2fbac5a41e760a3bb24153115aca0f4c013e8c32 /PySide/QtCore
parent74624014231706acdd87d70f5c1fb01fdd1f8ab6 (diff)
Do not throw an OverflowError on QString.number(-1).
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 7fa63583b..993f88a14 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -994,6 +994,12 @@
#endif
</inject-code>
+ <!-- the number(qlonglong) is enough for python -->
+ <modify-function signature="number(uint,int)" remove="all" />
+ <modify-function signature="number(int,int)" remove="all" />
+ <modify-function signature="number(ulong,int)" remove="all" />
+ <modify-function signature="number(qlonglong,int)" remove="all" />
+ <modify-function signature="number(qulonglong,int)" remove="all" />
<modify-function signature="insert(int,const QChar*,int)" remove="all" />
<modify-function signature="QString(const QChar*, int)" remove="all" />
<modify-function signature="fromStdString(std::string)" remove="all"/>