summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtextcodec.sip
diff options
context:
space:
mode:
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