diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-08 11:11:28 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-12 17:30:02 -0300 |
commit | 7a3f28e1bf742f689200a981e28de8f9222508b2 (patch) | |
tree | 2fbac5a41e760a3bb24153115aca0f4c013e8c32 /PySide/QtCore/typesystem_core.xml | |
parent | 74624014231706acdd87d70f5c1fb01fdd1f8ab6 (diff) |
Do not throw an OverflowError on QString.number(-1).
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 6 |
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"/> |