diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:46 +0900 |
| commit | cdb2c767da66815beaddd0cbceda777ddcbe9b6a (patch) | |
| tree | bc07eb30a833a9bbcb2ecbfe8632f9d82c53309b /sip/qt/qlist.sip | |
| parent | 79113dda15348e659bdf729f2c6119b2ba49d397 (diff) | |
| download | pytqt-cdb2c767.tar.gz pytqt-cdb2c767.zip | |
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'sip/qt/qlist.sip')
| -rw-r--r-- | sip/qt/qlist.sip | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sip/qt/qlist.sip b/sip/qt/qlist.sip index 8304d19..5c6ba26 100644 --- a/sip/qt/qlist.sip +++ b/sip/qt/qlist.sip @@ -1,4 +1,4 @@ -// This is the SIP interface definition for all types based on the TQList +// This is the SIP interface definition for all types based on the TQPtrList // template. // // Copyright (c) 2007 @@ -22,9 +22,9 @@ %ExportedDoc -<Sect2><Title>TQList<type> (TQt v2)</Title> +<Sect2><Title>TQPtrList<type> (TQt v2)</Title> <Para> -Types based on the <Literal>TQList</Literal> template are automatically +Types based on the <Literal>TQPtrList</Literal> template are automatically converted to and from Python lists of the type. </Para> </Sect2> @@ -34,7 +34,7 @@ converted to and from Python lists of the type. %If (TQt_2_1_0 - TQt_3_0_0) template<Type> -%MappedType TQList<Type> +%MappedType TQPtrList<Type> { %TypeHeaderCode #include <tqlist.h> @@ -85,7 +85,7 @@ template<Type> return 1; } - TQList<Type> *ql = new TQList<Type>; + TQPtrList<Type> *ql = new TQPtrList<Type>; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { |
