diff options
| author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
|---|---|---|
| committer | aneejit1 <aneejit1@gmail.com> | 2022-07-30 17:54:15 +0000 |
| commit | 33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch) | |
| tree | 7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qtextstream.sip | |
| parent | e602246539fd7435aaeb440fcb7f852c92c8426b (diff) | |
| download | pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.tar.gz pytqt-33a0297b35ab40e2d09cf37e351095b58725c8d5.zip | |
Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has
been removed. Since the versions of TQt and python-tqt are running in
parallel, the support for older versions was clutter that would never
actually be used now.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'sip/qt/qtextstream.sip')
| -rw-r--r-- | sip/qt/qtextstream.sip | 32 |
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 |
