diff options
author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-07-31 16:43:31 +0200 |
commit | 30381ed7e532384067ad63b4631950d821313199 (patch) | |
tree | 88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qmime.sip | |
parent | 4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff) | |
download | pytqt-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/qmime.sip')
-rw-r--r-- | sip/qt/qmime.sip | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sip/qt/qmime.sip b/sip/qt/qmime.sip index f0ce87f..630b6f2 100644 --- a/sip/qt/qmime.sip +++ b/sip/qt/qmime.sip @@ -42,8 +42,6 @@ %End -%If (TQt_2_00 -) - class TQMimeSource { %TypeHeaderCode @@ -51,16 +49,12 @@ class TQMimeSource %End public: -%If (TQt_3_0_0 -) TQMimeSource(); -%End virtual const char *format(int = 0) const = 0; virtual bool provides(const char *) const; virtual TQByteArray encodedData(const char *) const = 0; -%If (TQt_3_0_0 -) int serialNumber() const; -%End }; @@ -75,11 +69,9 @@ public: static TQMimeSourceFactory *defaultFactory(); static void setDefaultFactory(TQMimeSourceFactory * /Transfer/); -%If (TQt_3_0_0 -) static TQMimeSourceFactory *takeDefaultFactory() /TransferBack/; static void addFactory(TQMimeSourceFactory *); static void removeFactory(TQMimeSourceFactory *); -%End virtual const TQMimeSource *data(const TQString &) const; virtual TQString makeAbsolute(const TQString &,const TQString &) const; @@ -90,15 +82,7 @@ public: virtual void setPixmap(const TQString &,const TQPixmap &); virtual void setData(const TQString &,TQMimeSource * /Transfer/); virtual void setFilePath(const TQStringList &); -%If (TQt_2_1_0 -) virtual TQStringList filePath() const; void addFilePath(const TQString &); -%End virtual void setExtensionType(const TQString &,const char *); }; - -%End - - -%If (TQt_3_0_0 -) -%End |