diff options
Diffstat (limited to 'sip/qt/qdir.sip')
-rw-r--r-- | sip/qt/qdir.sip | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sip/qt/qdir.sip b/sip/qt/qdir.sip index 1c1d8d8..a531b5e 100644 --- a/sip/qt/qdir.sip +++ b/sip/qt/qdir.sip @@ -59,7 +59,7 @@ the return type of a function or the type of an argument, a Python list of { PyObject *inst; - if ((inst = sipConvertFromInstance(obj,sipClass_QFileInfo,sipTransferObj)) == NULL || PyList_Append(pl,inst) < 0) + if ((inst = sipConvertFromInstance(obj,sipClass_TQFileInfo,sipTransferObj)) == NULL || PyList_Append(pl,inst) < 0) { Py_XDECREF(inst); Py_DECREF(pl); @@ -83,7 +83,7 @@ the return type of a function or the type of an argument, a Python list of return 0; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) - if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_QFileInfo,0)) + if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQFileInfo,0)) return 0; return 1; @@ -98,7 +98,7 @@ the return type of a function or the type of an argument, a Python list of // We apply the transfer to the list itself, not the elements. // Note that any temporary element will never be destroyed. // There is nothing that can be done about this. - qfi = reinterpret_cast<TQFileInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_QFileInfo,0,0,0,sipIsErr)); + qfi = reinterpret_cast<TQFileInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQFileInfo,0,0,0,sipIsErr)); if (*sipIsErr) { |