From 8a055d66f43592c257cece2eb8cc021808062917 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Nov 2011 01:11:08 -0600 Subject: Initial TQt conversion --- sip/qt/qvaluelist.sip | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'sip/qt/qvaluelist.sip') 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 // -// 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 -QValueList<type> (Qt v2+) +TQValueList<type> (TQt v2+) -Types based on the QValueList template are automatically +Types based on the TQValueList template are automatically converted to and from Python lists of the type. %End -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) template -%MappedType QValueList +%MappedType TQValueList { %TypeHeaderCode #include @@ -52,7 +52,7 @@ template // Get it. i = 0; - QValueListConstIterator it; + TQValueListConstIterator it; for (it = sipCpp -> begin(); it != sipCpp -> end(); ++it) { @@ -85,7 +85,7 @@ template return 1; } - QValueList *qvl = new QValueList; + TQValueList *qvl = new TQValueList; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { @@ -118,9 +118,9 @@ template %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) -%MappedType QValueList +%MappedType TQValueList { %TypeHeaderCode #include @@ -150,12 +150,12 @@ template %End %ConvertToTypeCode - // Convert a Python list of integers to a QValueList on the heap. + // Convert a Python list of integers to a TQValueList on the heap. if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList *qvl = new QValueList; + TQValueList *qvl = new TQValueList; PyErr_Clear(); -- cgit v1.2.1