summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqptrlist.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tqt/tqptrlist.sip')
-rw-r--r--sip/tqt/tqptrlist.sip8
1 files changed, 4 insertions, 4 deletions
diff --git a/sip/tqt/tqptrlist.sip b/sip/tqt/tqptrlist.sip
index 5250eb8..bd162cf 100644
--- a/sip/tqt/tqptrlist.sip
+++ b/sip/tqt/tqptrlist.sip
@@ -83,24 +83,24 @@ template<Type>
return 1;
}
- TQPtrList<Type> *qpl = new TQPtrList<Type>;
+ TQPtrList<Type> *tqpl = new TQPtrList<Type>;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
// 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.
- qpl -> append(reinterpret_cast<Type *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_Type,0,0,0,sipIsErr)));
+ tqpl -> append(reinterpret_cast<Type *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_Type,0,0,0,sipIsErr)));
if (*sipIsErr)
{
- delete qpl;
+ delete tqpl;
return 0;
}
}
- *sipCppPtr = qpl;
+ *sipCppPtr = tqpl;
return sipGetState(sipTransferObj);
%End