diff options
author | aneejit1 <[email protected]> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | aneejit1 <[email protected]> | 2022-07-30 17:54:15 +0000 |
commit | 33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch) | |
tree | 7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qtranslator.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 <[email protected]>
Diffstat (limited to 'sip/qt/qtranslator.sip')
-rw-r--r-- | sip/qt/qtranslator.sip | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/sip/qt/qtranslator.sip b/sip/qt/qtranslator.sip index 73f0bb6..1edee94 100644 --- a/sip/qt/qtranslator.sip +++ b/sip/qt/qtranslator.sip @@ -35,8 +35,6 @@ %End -%If (TQt_2_2_0 -) - class TQTranslatorMessage { %TypeHeaderCode @@ -66,22 +64,12 @@ public: HashContextSourceTextComment }; -%If (- TQt_3_0_0) - void write(TQDataStream &,bool, - Prefix = HashContextSourceTextComment) const /ReleaseGIL/; -%End -%If (TQt_3_0_0 -) void write(TQDataStream &,bool = 0, Prefix = HashContextSourceTextComment) const /ReleaseGIL/; -%End Prefix commonPrefix(const TQTranslatorMessage &) const; }; -%End - - -%If (TQt_2_00 -) class TQTranslator : TQObject { @@ -90,39 +78,17 @@ class TQTranslator : TQObject %End public: -%If (TQt_3_2_0 -) TQTranslator(TQObject * /TransferThis/ = 0,const char * = 0); -%End -%If (- TQt_3_2_0) - TQTranslator(TQObject * /TransferThis/,const char * = 0); -%End -%If (TQt_2_2_0 -) TQString find(const char *,const char *,const char *) const; -%End -%If (- TQt_3_0_0) - virtual TQString find(const char *,const char *) const; -%End -%If (TQt_2_2_0 - TQt_3_0_0) - TQTranslatorMessage findMessage(const char *,const char *, - const char *) const; -%End -%If (TQt_3_0_0 - TQt_3_2_0) - virtual TQTranslatorMessage findMessage(const char *,const char *, - const char *) const; -%End -%If (TQt_3_2_0 -) virtual TQTranslatorMessage findMessage(const char *,const char *, const char * = 0) const; -%End bool load(const TQString &,const TQString & = TQString::null, const TQString & = TQString::null, const TQString & = TQString::null); -%If (TQt_3_1_0 -) bool load(const uchar *,int); -%End void clear(); @@ -133,45 +99,15 @@ public: bool save(const TQString &,SaveMode = Everything); -%If (TQt_2_2_0 -) void insert(const TQTranslatorMessage &); -%End -%If (- TQt_3_0_0) - void insert(const char *,const char *,const TQString &); -%End -%If (TQt_2_2_0 -) void remove(const TQTranslatorMessage &); -%End -%If (- TQt_3_0_0) - void remove(const char *,const char *); -%End -%If (- TQt_3_0_0) - bool contains(const char *,const char *) const; -%End -%If (TQt_2_2_0 - TQt_3_0_0) - bool contains(const char *,const char *,const char *) const; -%End -%If (TQt_3_0_0 -) bool contains(const char *,const char *,const char * = 0) const; -%End -%If (- TQt_3_0_0) - void squeeze(); -%End -%If (TQt_2_2_0 - TQt_3_0_0) - void squeeze(SaveMode); -%End -%If (TQt_3_0_0 -) void squeeze(SaveMode = Everything); -%End void unsqueeze(); -%If (TQt_2_2_0 -) TQValueList<TQTranslatorMessage> messages() const; -%End private: TQTranslator(const TQTranslator &); }; - -%End |