summaryrefslogtreecommitdiffstats
path: root/sip/qt/qdatastream.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qdatastream.sip')
-rw-r--r--sip/qt/qdatastream.sip158
1 files changed, 79 insertions, 79 deletions
diff --git a/sip/qt/qdatastream.sip b/sip/qt/qdatastream.sip
index 1a27132..e970c30 100644
--- a/sip/qt/qdatastream.sip
+++ b/sip/qt/qdatastream.sip
@@ -1,50 +1,50 @@
-// This is the SIP interface definition for QDataStream.
+// This is the SIP interface definition for TQDataStream.
//
// 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>QDataStream</Title>
+<Sect2><Title>TQDataStream</Title>
<FuncSynopsis>
- <FuncDef>QDataStream &amp;<Function>readBytes</Function></FuncDef>
+ <FuncDef>TQDataStream &amp;<Function>readBytes</Function></FuncDef>
<ParamDef>const char *&amp;<Parameter>s</Parameter></ParamDef>
<ParamDef>uint &amp;<Parameter>l</Parameter></ParamDef>
</FuncSynopsis>
<Para>
-This takes no parameters. The <Literal>QDataStream</Literal> result and the
+This takes no parameters. The <Literal>TQDataStream</Literal> result and the
data read are returned as a tuple.
</Para>
<FuncSynopsis>
- <FuncDef>QDataStream &amp;<Function>readRawBytes</Function></FuncDef>
+ <FuncDef>TQDataStream &amp;<Function>readRawBytes</Function></FuncDef>
<ParamDef>const char *<Parameter>s</Parameter></ParamDef>
<ParamDef>uint <Parameter>l</Parameter></ParamDef>
</FuncSynopsis>
<Para>
This takes only the <Literal>l</Literal> parameter. The
-<Literal>QDataStream</Literal> result and the data read are returned as a
+<Literal>TQDataStream</Literal> result and the data read are returned as a
tuple.
</Para>
<FuncSynopsis>
- <FuncDef>QDataStream &amp;<Function>writeBytes</Function></FuncDef>
+ <FuncDef>TQDataStream &amp;<Function>writeBytes</Function></FuncDef>
<ParamDef>const char *<Parameter>s</Parameter></ParamDef>
<ParamDef>uint <Parameter>len</Parameter></ParamDef>
</FuncSynopsis>
@@ -54,7 +54,7 @@ parameter.
</Para>
<FuncSynopsis>
- <FuncDef>QDataStream &amp;<Function>writeRawBytes</Function></FuncDef>
+ <FuncDef>TQDataStream &amp;<Function>writeRawBytes</Function></FuncDef>
<ParamDef>const char *<Parameter>s</Parameter></ParamDef>
<ParamDef>uint <Parameter>len</Parameter></ParamDef>
</FuncSynopsis>
@@ -66,21 +66,21 @@ parameter.
%End
-class QDataStream
+class TQDataStream
{
%TypeHeaderCode
#include <qdatastream.h>
%End
public:
- QDataStream();
- QDataStream(QIODevice *);
- QDataStream(QByteArray,int);
+ TQDataStream();
+ TQDataStream(TQIODevice *);
+ TQDataStream(TQByteArray,int);
- QIODevice *device() const;
- void setDevice(QIODevice *);
+ TQIODevice *device() const;
+ void setDevice(TQIODevice *);
void unsetDevice();
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
bool atEnd() const;
%End
bool eof() const;
@@ -103,7 +103,7 @@ public:
uint l;
Py_BEGIN_ALLOW_THREADS
- sipCpp -> QDataStream::readBytes(c,l);
+ sipCpp -> TQDataStream::readBytes(c,l);
Py_END_ALLOW_THREADS
sipRes = sipBuildResult(&sipIsErr,"(Sa)",sipSelf,c,l);
@@ -121,7 +121,7 @@ public:
else
{
Py_BEGIN_ALLOW_THREADS
- sipCpp -> QDataStream::readRawBytes(buf,a0);
+ sipCpp -> TQDataStream::readRawBytes(buf,a0);
Py_END_ALLOW_THREADS
sipRes = sipBuildResult(&sipIsErr,"(Sa)",sipSelf,buf,a0);
@@ -130,95 +130,95 @@ public:
}
%End
- QDataStream &writeBytes(const char * /Array/,
+ TQDataStream &writeBytes(const char * /Array/,
uint /ArraySize/) /ReleaseGIL/;
- QDataStream &writeRawBytes(const char * /Array/,
+ TQDataStream &writeRawBytes(const char * /Array/,
uint /ArraySize/) /ReleaseGIL/;
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
// These are taken from the corresponding class definitions. We limit
- // them to Qt v3.0.0 and later just to avoid checking earlier versions.
+ // them to TQt v3.0.0 and later just to avoid checking earlier versions.
- QDataStream &operator<<(const QBrush &);
- QDataStream &operator>>(QBrush & /Constrained/);
+ TQDataStream &operator<<(const TQBrush &);
+ TQDataStream &operator>>(TQBrush & /Constrained/);
- QDataStream &operator<<(const QColor &);
- QDataStream &operator>>(QColor & /Constrained/);
+ TQDataStream &operator<<(const TQColor &);
+ TQDataStream &operator>>(TQColor & /Constrained/);
- QDataStream &operator<<(const QByteArray &);
- QDataStream &operator>>(QByteArray & /Constrained/);
+ TQDataStream &operator<<(const TQByteArray &);
+ TQDataStream &operator>>(TQByteArray & /Constrained/);
- QDataStream &operator<<(const QCString &);
- QDataStream &operator>>(QCString & /Constrained/);
+ TQDataStream &operator<<(const TQCString &);
+ TQDataStream &operator>>(TQCString & /Constrained/);
- QDataStream &operator<<(const QCursor &);
- QDataStream &operator>>(QCursor & /Constrained/);
+ TQDataStream &operator<<(const TQCursor &);
+ TQDataStream &operator>>(TQCursor & /Constrained/);
- QDataStream &operator<<(const QDate &);
- QDataStream &operator>>(QDate & /Constrained/);
+ TQDataStream &operator<<(const TQDate &);
+ TQDataStream &operator>>(TQDate & /Constrained/);
- QDataStream &operator<<(const QTime &);
- QDataStream &operator>>(QTime & /Constrained/);
+ TQDataStream &operator<<(const TQTime &);
+ TQDataStream &operator>>(TQTime & /Constrained/);
- QDataStream &operator<<(const QDateTime &);
- QDataStream &operator>>(QDateTime & /Constrained/);
+ TQDataStream &operator<<(const TQDateTime &);
+ TQDataStream &operator>>(TQDateTime & /Constrained/);
- QDataStream &operator<<(const QFont &);
- QDataStream &operator>>(QFont & /Constrained/);
+ TQDataStream &operator<<(const TQFont &);
+ TQDataStream &operator>>(TQFont & /Constrained/);
- QDataStream &operator<<(const QImage &);
- QDataStream &operator>>(QImage & /Constrained/);
+ TQDataStream &operator<<(const TQImage &);
+ TQDataStream &operator>>(TQImage & /Constrained/);
- QDataStream &operator<<(const QKeySequence &);
- QDataStream &operator>>(QKeySequence & /Constrained/);
+ TQDataStream &operator<<(const TQKeySequence &);
+ TQDataStream &operator>>(TQKeySequence & /Constrained/);
- QDataStream &operator<<(const QColorGroup &);
- QDataStream &operator>>(QColorGroup & /Constrained/);
+ TQDataStream &operator<<(const TQColorGroup &);
+ TQDataStream &operator>>(TQColorGroup & /Constrained/);
- QDataStream &operator<<(const QPalette &);
- QDataStream &operator>>(QPalette & /Constrained/);
+ TQDataStream &operator<<(const TQPalette &);
+ TQDataStream &operator>>(TQPalette & /Constrained/);
- QDataStream &operator<<(const QPen &);
- QDataStream &operator>>(QPen & /Constrained/);
+ TQDataStream &operator<<(const TQPen &);
+ TQDataStream &operator>>(TQPen & /Constrained/);
- QDataStream &operator<<(const QPicture &);
- QDataStream &operator>>(QPicture & /Constrained/);
+ TQDataStream &operator<<(const TQPicture &);
+ TQDataStream &operator>>(TQPicture & /Constrained/);
- QDataStream &operator<<(const QPixmap &);
- QDataStream &operator>>(QPixmap & /Constrained/);
+ TQDataStream &operator<<(const TQPixmap &);
+ TQDataStream &operator>>(TQPixmap & /Constrained/);
- QDataStream &operator<<(const QPointArray &);
- QDataStream &operator>>(QPointArray & /Constrained/);
+ TQDataStream &operator<<(const TQPointArray &);
+ TQDataStream &operator>>(TQPointArray & /Constrained/);
- QDataStream &operator<<(const QPoint &);
- QDataStream &operator>>(QPoint & /Constrained/);
+ TQDataStream &operator<<(const TQPoint &);
+ TQDataStream &operator>>(TQPoint & /Constrained/);
- QDataStream &operator<<(const QRect &);
- QDataStream &operator>>(QRect & /Constrained/);
+ TQDataStream &operator<<(const TQRect &);
+ TQDataStream &operator>>(TQRect & /Constrained/);
- QDataStream &operator<<(const QRegion &);
- QDataStream &operator>>(QRegion & /Constrained/);
+ TQDataStream &operator<<(const TQRegion &);
+ TQDataStream &operator>>(TQRegion & /Constrained/);
- QDataStream &operator<<(const QSize &);
- QDataStream &operator>>(QSize & /Constrained/);
+ TQDataStream &operator<<(const TQSize &);
+ TQDataStream &operator>>(TQSize & /Constrained/);
- QDataStream &operator<<(const QString &);
- QDataStream &operator>>(QString & /Constrained/);
+ TQDataStream &operator<<(const TQString &);
+ TQDataStream &operator>>(TQString & /Constrained/);
- QDataStream &operator<<(const QStringList &);
- QDataStream &operator>>(QStringList & /Constrained/);
+ TQDataStream &operator<<(const TQStringList &);
+ TQDataStream &operator>>(TQStringList & /Constrained/);
- QDataStream &operator<<(const QVariant &);
- QDataStream &operator>>(QVariant & /Constrained/);
+ TQDataStream &operator<<(const TQVariant &);
+ TQDataStream &operator>>(TQVariant & /Constrained/);
- QDataStream &operator<<(const QWMatrix &);
- QDataStream &operator>>(QWMatrix & /Constrained/);
+ TQDataStream &operator<<(const TQWMatrix &);
+ TQDataStream &operator>>(TQWMatrix & /Constrained/);
%End
-%If (Qt_3_1_0 -)
- QDataStream &operator<<(const QUuid &);
- QDataStream &operator>>(QUuid & /Constrained/);
+%If (TQt_3_1_0 -)
+ TQDataStream &operator<<(const TQUuid &);
+ TQDataStream &operator>>(TQUuid & /Constrained/);
%End
private:
- QDataStream(const QDataStream &);
+ TQDataStream(const TQDataStream &);
};