diff options
Diffstat (limited to 'sip/tqt/tqvaluelist.sip')
-rw-r--r-- | sip/tqt/tqvaluelist.sip | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sip/tqt/tqvaluelist.sip b/sip/tqt/tqvaluelist.sip index d803861..8b3b8d6 100644 --- a/sip/tqt/tqvaluelist.sip +++ b/sip/tqt/tqvaluelist.sip @@ -83,7 +83,7 @@ template<Type> return 1; } - TQValueList<Type> *qvl = new TQValueList<Type>; + TQValueList<Type> *tqvl = new TQValueList<Type>; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { @@ -97,17 +97,17 @@ template<Type> sipReleaseInstance(itm,sipClass_Type,state); *sipIsErr = 1; - delete qvl; + delete tqvl; return 0; } - qvl -> append(*itm); + tqvl -> append(*itm); sipReleaseInstance(itm,sipClass_Type,state); } - *sipCppPtr = qvl; + *sipCppPtr = tqvl; return sipGetState(sipTransferObj); %End @@ -149,24 +149,24 @@ template<Type> if (sipIsErr == NULL) return PyList_Check(sipPy); - TQValueList<int> *qvl = new TQValueList<int>; + TQValueList<int> *tqvl = new TQValueList<int>; PyErr_Clear(); for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { - qvl -> append(PyLong_AsLong(PyList_GET_ITEM(sipPy,i))); + tqvl -> append(PyLong_AsLong(PyList_GET_ITEM(sipPy,i))); if (PyErr_Occurred() != NULL) { - delete qvl; + delete tqvl; *sipIsErr = 1; return 0; } } - *sipCppPtr = qvl; + *sipCppPtr = tqvl; return 1; %End |