diff options
Diffstat (limited to 'sip/qt/qmemarray.sip')
-rw-r--r-- | sip/qt/qmemarray.sip | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sip/qt/qmemarray.sip b/sip/qt/qmemarray.sip index 9415a57..04a174e 100644 --- a/sip/qt/qmemarray.sip +++ b/sip/qt/qmemarray.sip @@ -1,39 +1,39 @@ -// This is the SIP interface definition for all types based on the QMemArray +// This is the SIP interface definition for all types based on the TQMemArray // template. // // Copyright (c) 2007 // Riverbank Computing Limited <info@riverbankcomputing.co.uk> // -// This file is part of PyQt. +// This file is part of PyTQt. // -// This copy of PyQt is free software; you can redistribute it and/or modify it +// This copy of PyTQt is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2, or (at your option) any later // version. // -// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY +// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with -// PyQt; see the file LICENSE. If not, write to the Free Software Foundation, +// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. %ExportedDoc -<Sect2><Title>QMemArray<type> (Qt v3+)</Title> +<Sect2><Title>TQMemArray<type> (TQt v3+)</Title> <Para> -Types based on the <Literal>QMemArray</Literal> template are automatically +Types based on the <Literal>TQMemArray</Literal> template are automatically converted to and from Python lists of the type. </Para> </Sect2> %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -%MappedType QMemArray<int> +%MappedType TQMemArray<int> { %TypeHeaderCode #include <qmemarray.h> @@ -61,12 +61,12 @@ converted to and from Python lists of the type. %End %ConvertToTypeCode - // Convert a Python list of integers to a QMemArray<int> on the heap. + // Convert a Python list of integers to a TQMemArray<int> on the heap. if (sipIsErr == NULL) return PyList_Check(sipPy); - QMemArray<int> *qma = new QMemArray<int>(PyList_GET_SIZE(sipPy)); + TQMemArray<int> *qma = new TQMemArray<int>(PyList_GET_SIZE(sipPy)); PyErr_Clear(); @@ -90,7 +90,7 @@ converted to and from Python lists of the type. }; template<TYPE> -%MappedType QMemArray<TYPE> +%MappedType TQMemArray<TYPE> { %TypeHeaderCode #include <qmemarray.h> @@ -124,7 +124,7 @@ template<TYPE> %End %ConvertToTypeCode - // Check the type if that is all that is required. + // Check the type if that is all that is retquired. if (sipIsErr == NULL) { if (!PyList_Check(sipPy)) @@ -137,7 +137,7 @@ template<TYPE> return 1; } - QMemArray<TYPE> *ql = new QMemArray<TYPE>; + TQMemArray<TYPE> *ql = new TQMemArray<TYPE>; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { |