@@ -917,6 +917,18 QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type) | |||
|
917 | 917 | if (ok) v = qVariantFromValue(d); |
|
918 | 918 | break; |
|
919 | 919 | } |
|
920 | case QMetaType::LongLong: | |
|
921 | { | |
|
922 | qint64 d = PyObjGetLongLong(val, false, ok); | |
|
923 | if (ok) v = qVariantFromValue(d); | |
|
924 | } | |
|
925 | break; | |
|
926 | case QMetaType::ULongLong: | |
|
927 | { | |
|
928 | quint64 d = PyObjGetULongLong(val, false, ok); | |
|
929 | if (ok) v = qVariantFromValue(d); | |
|
930 | } | |
|
931 | break; | |
|
920 | 932 | case QMetaType::Short: |
|
921 | 933 | { |
|
922 | 934 | short d = (short) PyObjGetInt(val,false,ok); |
General Comments 0
You need to be logged in to leave comments.
Login now