summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtabbar.sip
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 23:25:46 +0900
committerMichele Calgaro <[email protected]>2018-10-17 23:25:46 +0900
commitcdb2c767da66815beaddd0cbceda777ddcbe9b6a (patch)
treebc07eb30a833a9bbcb2ecbfe8632f9d82c53309b /sip/qt/qtabbar.sip
parent79113dda15348e659bdf729f2c6119b2ba49d397 (diff)
downloadpytqt-cdb2c767da66815beaddd0cbceda777ddcbe9b6a.tar.gz
pytqt-cdb2c767da66815beaddd0cbceda777ddcbe9b6a.zip
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'sip/qt/qtabbar.sip')
-rw-r--r--sip/qt/qtabbar.sip8
1 files changed, 4 insertions, 4 deletions
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 @@
<Sect2><Title>TQTabBar</Title>
<FuncSynopsis>
- <FuncDef>TQList&lt;TQTab&gt; <Function>tabList</Function></FuncDef>
+ <FuncDef>TQPtrList&lt;TQTab&gt; <Function>tabList</Function></FuncDef>
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
@@ -220,13 +220,13 @@ protected:
bool event(TQEvent *);
%End
- SIP_PYLIST tabList() [TQList<TQTab> *()];
+ SIP_PYLIST tabList() [TQPtrList<TQTab> *()];
%MethodCode
if ((sipRes = PyList_New(0)) == NULL)
sipIsErr = 1;
else
{
- TQList<TQTab> *tl;
+ TQPtrList<TQTab> *tl;
TQTab *tab;
Py_BEGIN_ALLOW_THREADS
@@ -234,7 +234,7 @@ protected:
Py_END_ALLOW_THREADS
// Convert the list.
- for (TQListIterator<TQTab> it(*tl); (tab = it.current()) != NULL; ++it)
+ for (TQPtrListIterator<TQTab> it(*tl); (tab = it.current()) != NULL; ++it)
{
PyObject *inst = sipBuildResult(&sipIsErr,"C",tab,sipClass_TQTab,NULL);