diff options
Diffstat (limited to 'sip/tqt/tqwidgetlist.sip')
-rw-r--r-- | sip/tqt/tqwidgetlist.sip | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sip/tqt/tqwidgetlist.sip b/sip/tqt/tqwidgetlist.sip index 9010b86..0d060b8 100644 --- a/sip/tqt/tqwidgetlist.sip +++ b/sip/tqt/tqwidgetlist.sip @@ -80,27 +80,27 @@ instances is used instead. return 1; } - TQWidgetList *qwl = new TQWidgetList; + TQWidgetList *tqwl = new TQWidgetList; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { - TQWidget *qw; + TQWidget *tqw; // 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. - qw = reinterpret_cast<TQWidget *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQWidget,0,0,0,sipIsErr)); + tqw = reinterpret_cast<TQWidget *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQWidget,0,0,0,sipIsErr)); if (*sipIsErr) { - delete qwl; + delete tqwl; return 0; } - qwl -> append(qw); + tqwl -> append(tqw); } - *sipCppPtr = qwl; + *sipCppPtr = tqwl; return sipGetState(sipTransferObj); %End |