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/qfileinfo.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/qfileinfo.sip')
-rw-r--r-- | sip/qt/qfileinfo.sip | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/sip/qt/qfileinfo.sip b/sip/qt/qfileinfo.sip index a2b6869..38b4609 100644 --- a/sip/qt/qfileinfo.sip +++ b/sip/qt/qfileinfo.sip @@ -37,77 +37,38 @@ class TQFileInfo public: enum PermissionSpec { -%If (TQt_3_2_0 -) ReadOwner, WriteOwner, ExeOwner, -%End ReadUser, WriteUser, ExeUser, ReadGroup, WriteGroup, ExeGroup, ReadOther, WriteOther, ExeOther }; TQFileInfo(); -%If (- TQt_2_00) - TQFileInfo(const char *); -%End -%If (TQt_2_00 -) TQFileInfo(const TQString &); -%End TQFileInfo(const TQFile &); -%If (- TQt_2_00) - TQFileInfo(const TQDir &,const char *); -%End -%If (TQt_2_00 -) TQFileInfo(const TQDir &,const TQString &); -%End TQFileInfo(const TQFileInfo &); -%If (- TQt_2_00) - void setFile(const char *); -%End -%If (TQt_2_00 -) void setFile(const TQString &); -%End void setFile(const TQFile &); -%If (- TQt_2_00) - void setFile(const TQDir &,const char *); -%End -%If (TQt_2_00 -) void setFile(const TQDir &,const TQString &); -%End bool exists() const; void refresh() const; bool caching() const; void setCaching(bool); -%If (- TQt_2_00) - const char *filePath() const; -%End -%If (TQt_2_00 -) const TQString filePath() const; -%End TQString fileName() const; TQString absFilePath() const; -%If (- TQt_3_0_0) - TQString baseName() const; -%End -%If (TQt_3_0_0 -) TQString baseName(bool = 1) const; -%End -%If (- TQt_2_00) - TQString extension() const; -%End -%If (TQt_2_00 -) TQString extension(bool = 1) const; -%End TQString dirPath(bool = 0) const; TQDir dir(bool = 0) const; bool isReadable() const; bool isWritable() const; bool isExecutable() const; -%If (TQt_3_1_0 -) bool isHidden() const; -%End bool isRelative() const; bool convertToAbs(); @@ -118,28 +79,16 @@ public: TQString readLink() const /ReleaseGIL/; -%If (- TQt_2_00) - const char *owner() const; -%End -%If (TQt_2_00 -) TQString owner() const; -%End uint ownerId() const; -%If (- TQt_2_00) - const char *group() const; -%End -%If (TQt_2_00 -) TQString group() const; -%End uint groupId() const; bool permission(int) const; uint size() const; -%If (TQt_3_0_0 -) TQDateTime created() const; -%End TQDateTime lastModified() const; TQDateTime lastRead() const; }; |