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/qfileinfo.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/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; }; |