summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqdir.sip
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-22 15:01:29 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 02:57:40 +0100
commit4feca443fb45a87fa971fe7f24c9dd3128643c19 (patch)
treecafb62865ab0f282e8d8a4b0f8765e173e4f36c3 /sip/tqt/tqdir.sip
parent16434e5519f6224e231bc5f7202f0e495eda7bb7 (diff)
downloadpytqt-4feca443.tar.gz
pytqt-4feca443.zip
temporary commit to show changes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'sip/tqt/tqdir.sip')
-rw-r--r--sip/tqt/tqdir.sip12
1 files changed, 6 insertions, 6 deletions
diff --git a/sip/tqt/tqdir.sip b/sip/tqt/tqdir.sip
index 1d4c8db..1f1186f 100644
--- a/sip/tqt/tqdir.sip
+++ b/sip/tqt/tqdir.sip
@@ -89,27 +89,27 @@ the return type of a function or the type of an argument, a Python list of
return 1;
}
- TQFileInfoList *qfil = new TQFileInfoList;
+ TQFileInfoList *tqfil = new TQFileInfoList;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
- TQFileInfo *qfi;
+ TQFileInfo *tqfi;
// 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_TQFileInfo,0,0,0,sipIsErr));
+ tqfi = reinterpret_cast<TQFileInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQFileInfo,0,0,0,sipIsErr));
if (*sipIsErr)
{
- delete qfil;
+ delete tqfil;
return 0;
}
- qfil -> append(qfi);
+ tqfil -> append(tqfi);
}
- *sipCppPtr = qfil;
+ *sipCppPtr = tqfil;
return sipGetState(sipTransferObj);
%End