summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtextstream.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qtextstream.sip')
-rw-r--r--sip/qt/qtextstream.sip32
1 files changed, 0 insertions, 32 deletions
diff --git a/sip/qt/qtextstream.sip b/sip/qt/qtextstream.sip
index d0e351b..83778c3 100644
--- a/sip/qt/qtextstream.sip
+++ b/sip/qt/qtextstream.sip
@@ -82,17 +82,6 @@ class TQTextStream
%End
public:
-%If (TQt_2_00 - TQt_2_2_0)
- enum Encoding {
- Locale,
- Latin1,
- Unicode,
- UnicodeNetworkOrder,
- UnicodeReverse,
- RawUnicode
- };
-%End
-%If (TQt_2_2_0 -)
enum Encoding {
Locale,
Latin1,
@@ -102,41 +91,30 @@ public:
RawUnicode,
UnicodeUTF8
};
-%End
TQTextStream();
TQTextStream(TQIODevice *);
-%If (TQt_2_00 -)
TQTextStream(TQString *,int);
-%End
TQTextStream(TQByteArray,int);
// TQTextStream(FILE *,int);
-%If (TQt_2_00 -)
void setEncoding(Encoding);
void setCodec(TQTextCodec *);
-%End
-%If (TQt_3_1_0 -)
TQTextCodec *codec();
-%End
TQIODevice *device() const;
void setDevice(TQIODevice *);
void unsetDevice();
-%If (TQt_2_00 -)
bool atEnd() const;
-%End
bool eof() const;
// TQTextStream &readRawBytes(char *,uint) /ReleaseGIL/;
// TQTextStream &writeRawBytes(const char *,uint) /ReleaseGIL/;
TQString readLine() /ReleaseGIL/;
-%If (TQt_2_00 -)
TQString read() /ReleaseGIL/;
void skipWhiteSpace();
-%End
enum {
skipws,
@@ -174,7 +152,6 @@ public:
int precision() const;
int precision(int);
-%If (TQt_3_0_0 -)
// These are defined in qmainwindow.h as global operators so we have
// to implement them here and pretend they are class operators.
TQTextStream &operator<<(const TQMainWindow &);
@@ -184,15 +161,12 @@ public:
// to implement them here and pretend they are class operators.
TQTextStream &operator<<(const TQDockArea &);
TQTextStream &operator>>(TQDockArea &);
-%End
private:
TQTextStream(const TQTextStream &);
};
-%If (TQt_2_00 -)
-
class TQTextIStream : TQTextStream
{
%TypeHeaderCode
@@ -205,9 +179,7 @@ public:
// TQTextIStream(FILE *);
private:
-%If (TQt_3_1_0 -)
TQTextIStream(const TQTextIStream &);
-%End
};
@@ -223,9 +195,5 @@ public:
// TQTextOStream(FILE *);
private:
-%If (TQt_3_1_0 -)
TQTextOStream(const TQTextOStream &);
-%End
};
-
-%End