summaryrefslogtreecommitdiffstats
path: root/sip/qt/qvaluelist.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qvaluelist.sip')
-rw-r--r--sip/qt/qvaluelist.sip30
1 files changed, 15 insertions, 15 deletions
diff --git a/sip/qt/qvaluelist.sip b/sip/qt/qvaluelist.sip
index 732740d..55bf35e 100644
--- a/sip/qt/qvaluelist.sip
+++ b/sip/qt/qvaluelist.sip
@@ -1,40 +1,40 @@
-// This is the SIP interface definition for all types based on the QValueList
+// This is the SIP interface definition for all types based on the TQValueList
// 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>QValueList&lt;type&gt; (Qt v2+)</Title>
+<Sect2><Title>TQValueList&lt;type&gt; (TQt v2+)</Title>
<Para>
-Types based on the <Literal>QValueList</Literal> template are automatically
+Types based on the <Literal>TQValueList</Literal> template are automatically
converted to and from Python lists of the type.
</Para>
</Sect2>
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
template<Type>
-%MappedType QValueList<Type>
+%MappedType TQValueList<Type>
{
%TypeHeaderCode
#include <qvaluelist.h>
@@ -52,7 +52,7 @@ template<Type>
// Get it.
i = 0;
- QValueListConstIterator<Type> it;
+ TQValueListConstIterator<Type> it;
for (it = sipCpp -> begin(); it != sipCpp -> end(); ++it)
{
@@ -85,7 +85,7 @@ template<Type>
return 1;
}
- QValueList<Type> *qvl = new QValueList<Type>;
+ TQValueList<Type> *qvl = new TQValueList<Type>;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
@@ -118,9 +118,9 @@ template<Type>
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-%MappedType QValueList<int>
+%MappedType TQValueList<int>
{
%TypeHeaderCode
#include <qvaluelist.h>
@@ -150,12 +150,12 @@ template<Type>
%End
%ConvertToTypeCode
- // Convert a Python list of integers to a QValueList<int> on the heap.
+ // Convert a Python list of integers to a TQValueList<int> on the heap.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<int> *qvl = new QValueList<int>;
+ TQValueList<int> *qvl = new TQValueList<int>;
PyErr_Clear();