summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtextcodec.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qtextcodec.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 <aneejit1@gmail.com> (cherry picked from commit 33a0297b35ab40e2d09cf37e351095b58725c8d5)
Diffstat (limited to 'sip/qt/qtextcodec.sip')
-rw-r--r--sip/qt/qtextcodec.sip14
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