diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 19:23:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 19:23:03 -0600 |
commit | f2fc430b75c36c70333c2e01b649eebf39142c33 (patch) | |
tree | e4e59b6582180a9ae0d90df2de438dc1e646c3cd /sip/qt/qdir.sip | |
parent | 8a055d66f43592c257cece2eb8cc021808062917 (diff) | |
download | pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.tar.gz pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.zip |
Rename sip*_Q items
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) { |