summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtextstream.sip
diff options
context:
space:
mode:
authoraneejit1 <[email protected]>2022-07-29 12:36:09 +0000
committerSlávek Banko <[email protected]>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qtextstream.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-30381ed7e532384067ad63b4631950d821313199.tar.gz
pytqt-30381ed7e532384067ad63b4631950d821313199.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 <[email protected]> (cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
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