summaryrefslogtreecommitdiffstats
path: root/sip/qt/qpair.sip
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
committerTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qpair.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qpair.sip')
-rw-r--r--sip/qt/qpair.sip22
1 files changed, 11 insertions, 11 deletions
diff --git a/sip/qt/qpair.sip b/sip/qt/qpair.sip
index 6064e22..a9a76a3 100644
--- a/sip/qt/qpair.sip
+++ b/sip/qt/qpair.sip
@@ -1,39 +1,39 @@
-// This is the SIP interface definition for all types based on the QPair
+// This is the SIP interface definition for all types based on the TQPair
// template.
//
// Copyright (c) 2007
// Riverbank Computing Limited <[email protected]>
//
-// 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>QPair&lt;type,type&gt; (Qt v3+)</Title>
+<Sect2><Title>TQPair&lt;type,type&gt; (TQt v3+)</Title>
<Para>
-Types based on the <Literal>QPair</Literal> template are automatically
+Types based on the <Literal>TQPair</Literal> template are automatically
converted to and from Python tuples of two elements.
</Para>
</Sect2>
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
-%MappedType QPair<int,int>
+%MappedType TQPair<int,int>
{
%TypeHeaderCode
#include <qpair.h>
@@ -58,7 +58,7 @@ converted to and from Python tuples of two elements.
%End
%ConvertToTypeCode
- // Convert a Python tuple of integers to a QPair<int,int> on the heap.
+ // Convert a Python tuple of integers to a TQPair<int,int> on the heap.
if (sipIsErr == NULL)
return (PyTuple_Size(sipPy) == 2);
@@ -74,7 +74,7 @@ converted to and from Python tuples of two elements.
return 0;
}
- *sipCppPtr = new QPair<int,int>(fst,sec);
+ *sipCppPtr = new TQPair<int,int>(fst,sec);
return 1;
%End