diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-22 15:01:29 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-23 02:57:40 +0100 |
commit | 4feca443fb45a87fa971fe7f24c9dd3128643c19 (patch) | |
tree | cafb62865ab0f282e8d8a4b0f8765e173e4f36c3 /sip/tqt/tqwidgetlist.sip | |
parent | 16434e5519f6224e231bc5f7202f0e495eda7bb7 (diff) | |
download | pytqt-4feca443fb45a87fa971fe7f24c9dd3128643c19.tar.gz pytqt-4feca443fb45a87fa971fe7f24c9dd3128643c19.zip |
temporary commit to show changes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 |