summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtabbar.sip
diff options
context:
space:
mode:
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);