From cdb2c767da66815beaddd0cbceda777ddcbe9b6a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 23:25:46 +0900 Subject: Removed obsolete Qt2's TQList/TQListIterator classes and replaced with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro --- sip/qt/qtabbar.sip | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sip/qt/qtabbar.sip') diff --git a/sip/qt/qtabbar.sip b/sip/qt/qtabbar.sip index 96d77e0..09850e4 100644 --- a/sip/qt/qtabbar.sip +++ b/sip/qt/qtabbar.sip @@ -29,7 +29,7 @@ TQTabBar - TQList<TQTab> tabList + TQPtrList<TQTab> tabList @@ -220,13 +220,13 @@ protected: bool event(TQEvent *); %End - SIP_PYLIST tabList() [TQList *()]; + SIP_PYLIST tabList() [TQPtrList *()]; %MethodCode if ((sipRes = PyList_New(0)) == NULL) sipIsErr = 1; else { - TQList *tl; + TQPtrList *tl; TQTab *tab; Py_BEGIN_ALLOW_THREADS @@ -234,7 +234,7 @@ protected: Py_END_ALLOW_THREADS // Convert the list. - for (TQListIterator it(*tl); (tab = it.current()) != NULL; ++it) + for (TQPtrListIterator it(*tl); (tab = it.current()) != NULL; ++it) { PyObject *inst = sipBuildResult(&sipIsErr,"C",tab,sipClass_TQTab,NULL); -- cgit v1.2.1