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/qtextcodec.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/qtextcodec.sip')
-rw-r--r-- | sip/qt/qtextcodec.sip | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sip/qt/qtextcodec.sip b/sip/qt/qtextcodec.sip index 792d938..7a18efe 100644 --- a/sip/qt/qtextcodec.sip +++ b/sip/qt/qtextcodec.sip @@ -54,8 +54,6 @@ updated <Literal>lenInOut</Literal>. %End -%If (TQt_2_00 -) - class TQTextEncoder { %TypeHeaderCode @@ -94,25 +92,19 @@ public: static TQTextCodec *codecForContent(const char *,int); static TQTextCodec *codecForIndex(int); static TQTextCodec *codecForLocale(); -%If (TQt_3_0_0 -) static void setCodecForLocale(TQTextCodec *); -%End -%If (TQt_3_1_0 -) static TQTextCodec *codecForTr(); static void setCodecForTr(TQTextCodec *); static TQTextCodec *codecForCStrings(); static void setCodecForCStrings(TQTextCodec *); -%End static void deleteAllCodecs(); static const char *locale(); virtual const char *name() const = 0; -%If (TQt_3_0_0 -) virtual const char *mimeName() const; -%End virtual int mibEnum() const = 0; virtual TQTextDecoder *makeDecoder() const /Factory/; @@ -123,10 +115,8 @@ public: TQCString fromUnicode(const TQString &) const; TQString toUnicode(const TQByteArray &,int) const; TQString toUnicode(const TQByteArray &) const; -%If (TQt_3_0_0 -) TQString toUnicode(const TQCString &,int) const; TQString toUnicode(const TQCString &) const; -%End TQString toUnicode(const char *) const; virtual bool canEncode(TQChar) const; virtual bool canEncode(const TQString &) const; @@ -134,13 +124,9 @@ public: virtual int heuristicContentMatch(const char *,int) const = 0; virtual int heuristicNameMatch(const char *) const; -%If (TQt_3_0_0 -) virtual TQByteArray fromUnicode(const TQString &,int,int) const; virtual unsigned short characterFromUnicode(const TQString &,int) const; -%End protected: TQTextCodec(); }; - -%End |