summaryrefslogtreecommitdiffstats
path: root/sip/qt/qstringlist.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qstringlist.sip')
-rw-r--r--sip/qt/qstringlist.sip98
1 files changed, 49 insertions, 49 deletions
diff --git a/sip/qt/qstringlist.sip b/sip/qt/qstringlist.sip
index d95034c..b48a60d 100644
--- a/sip/qt/qstringlist.sip
+++ b/sip/qt/qstringlist.sip
@@ -1,27 +1,27 @@
-// This is the SIP interface definition for QStringList.
+// This is the SIP interface definition for TQStringList.
//
// 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>QStringList (Qt v2+)</Title>
+<Sect2><Title>TQStringList (TQt v2+)</Title>
<Para>
The Python <Literal>len</Literal>, <Literal>[]</Literal> (for both reading and
writing slices and individual elements), <Literal>del</Literal> (for deleting
@@ -32,7 +32,7 @@ slices and individual elements), <Literal>+</Literal>, <Literal>+=</Literal>,
<FuncSynopsis>
<FuncDef>Iterator <Function>append</Function></FuncDef>
- <ParamDef>const QString &<Parameter>x</Parameter></ParamDef>
+ <ParamDef>const TQString &<Parameter>x</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This does not return a value.
@@ -40,7 +40,7 @@ This does not return a value.
<FuncSynopsis>
<FuncDef>Iterator <Function>prepend</Function></FuncDef>
- <ParamDef>const QString &<Parameter>x</Parameter></ParamDef>
+ <ParamDef>const TQString &<Parameter>x</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This does not return a value.
@@ -49,46 +49,46 @@ This does not return a value.
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QStringList
+class TQStringList
{
%TypeHeaderCode
#include <qstringlist.h>
%End
public:
- QStringList();
- QStringList(const QStringList &);
- QStringList(const QString &);
+ TQStringList();
+ TQStringList(const TQStringList &);
+ TQStringList(const TQString &);
void sort();
-%If (Qt_2_1_0 -)
- static QStringList fromStrList(const QStrList &);
- static QStringList split(const QString &,const QString &,bool = 0);
- static QStringList split(const QChar &,const QString &,bool = 0);
- static QStringList split(const QRegExp &,const QString &,bool = 0);
- QString join(const QString &) const;
- QStringList grep(const QString &,bool = 1) const;
- QStringList grep(const QRegExp &) const;
+%If (TQt_2_1_0 -)
+ static TQStringList fromStrList(const TQStrList &);
+ static TQStringList split(const TQString &,const TQString &,bool = 0);
+ static TQStringList split(const TQChar &,const TQString &,bool = 0);
+ static TQStringList split(const TQRegExp &,const TQString &,bool = 0);
+ TQString join(const TQString &) const;
+ TQStringList grep(const TQString &,bool = 1) const;
+ TQStringList grep(const TQRegExp &) const;
%End
-%If (Qt_3_2_0 -)
- QStringList &gres(const QString &,const QString &,bool = 1);
- QStringList &gres(const QRegExp &,const QString &);
+%If (TQt_3_2_0 -)
+ TQStringList &gres(const TQString &,const TQString &,bool = 1);
+ TQStringList &gres(const TQRegExp &,const TQString &);
%End
- // These are actually in QValueList, which isn't implemented so
+ // These are actually in TQValueList, which isn't implemented so
// pretend they are here.
bool isEmpty() const;
- void append(const QString &);
- void prepend(const QString &);
- void remove(const QString &);
- const QString &first() const;
- const QString &last() const;
- int findIndex(const QString &) const;
- uint contains(const QString &) const;
+ void append(const TQString &);
+ void prepend(const TQString &);
+ void remove(const TQString &);
+ const TQString &first() const;
+ const TQString &last() const;
+ int findIndex(const TQString &) const;
+ uint contains(const TQString &) const;
uint count() const;
void clear();
@@ -97,7 +97,7 @@ public:
sipRes = sipCpp -> count();
%End
- void __setitem__(int,const QString &);
+ void __setitem__(int,const TQString &);
%MethodCode
int len;
@@ -109,7 +109,7 @@ public:
(*sipCpp)[a0] = *a1;
%End
- void __setitem__(SIP_PYSLICE,const QStringList &);
+ void __setitem__(SIP_PYSLICE,const TQStringList &);
%MethodCode
#if PY_VERSION_HEX >= 0x02050000
Py_ssize_t len, start, stop, step, slicelength, i;
@@ -132,7 +132,7 @@ public:
}
else
{
- QStringList::ConstIterator it = a1 -> begin();
+ TQStringList::ConstIterator it = a1 -> begin();
for (i = 0; i < slicelength; ++i)
{
@@ -176,7 +176,7 @@ public:
}
%End
- QString operator[](int);
+ TQString operator[](int);
%MethodCode
int len;
@@ -185,10 +185,10 @@ public:
if ((a0 = (int)sipConvertFromSequenceIndex(a0,len)) < 0)
sipIsErr = 1;
else
- sipRes = new QString((*sipCpp)[a0]);
+ sipRes = new TQString((*sipCpp)[a0]);
%End
- QStringList operator[](SIP_PYSLICE);
+ TQStringList operator[](SIP_PYSLICE);
%MethodCode
#if PY_VERSION_HEX >= 0x02050000
Py_ssize_t len, start, stop, step, slicelength, i;
@@ -202,7 +202,7 @@ public:
sipIsErr = 1;
else
{
- sipRes = new QStringList();
+ sipRes = new TQStringList();
for (i = 0; i < slicelength; ++i)
{
@@ -212,27 +212,27 @@ public:
}
%End
- int __contains__(const QString &);
+ int __contains__(const TQString &);
%MethodCode
sipRes = (sipCpp -> findIndex(*a0) >= 0);
%End
- QStringList operator+(const QStringList &);
- QStringList &operator+=(const QStringList &);
+ TQStringList operator+(const TQStringList &);
+ TQStringList &operator+=(const TQStringList &);
- QStringList &operator+=(const QString &);
+ TQStringList &operator+=(const TQString &);
- QStringList operator*(int);
+ TQStringList operator*(int);
%MethodCode
- sipRes = new QStringList();
+ sipRes = new TQStringList();
while (a0-- > 0)
*sipRes += *sipCpp;
%End
- QStringList &operator*=(int);
+ TQStringList &operator*=(int);
%MethodCode
- QStringList orig(*sipCpp);
+ TQStringList orig(*sipCpp);
sipCpp -> clear();
@@ -240,8 +240,8 @@ public:
*sipCpp += orig;
%End
- bool operator==(const QStringList &);
- bool operator!=(const QStringList &);
+ bool operator==(const TQStringList &);
+ bool operator!=(const TQStringList &);
};
%End