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/qmetaobject.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/qmetaobject.sip')
-rw-r--r-- | sip/qt/qmetaobject.sip | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/sip/qt/qmetaobject.sip b/sip/qt/qmetaobject.sip index 5960339..56e96e6 100644 --- a/sip/qt/qmetaobject.sip +++ b/sip/qt/qmetaobject.sip @@ -58,7 +58,6 @@ public: const char *superClassName() const; TQMetaObject *superClass() const; -%If (TQt_2_1_0 -) bool inherits(const char *) const; int numSlots(bool = 0) const; @@ -72,18 +71,12 @@ public: const char *classInfo(const char *,bool = 0) const; %If (TQt_PROPERTIES) -%If (TQt_3_0_0 -) const TQMetaProperty *property(int,bool = 0) const; int findProperty(const char *,bool = 0) const; int numProperties(bool = 0) const; -%End -%If (- TQt_3_0_0) - const TQMetaProperty *property(const char *,bool = 0) const; -%End TQStrList propertyNames(bool = 0) const; %End -%End private: TQMetaObject(const TQMetaObject &); @@ -91,7 +84,6 @@ private: %If (TQt_PROPERTIES) -%If (TQt_2_1_0 -) class TQMetaProperty { @@ -103,12 +95,7 @@ public: const char *type() const; const char *name() const; -%If (TQt_2_2_0 -) bool writable() const; -%End -%If (- TQt_3_0_0) - bool writeable() const; -%End bool isValid() const; bool isSetType() const; @@ -120,51 +107,11 @@ public: int keysToValue(const TQStrList &) const; TQStrList valueToKeys(int) const; -%If (TQt_3_1_0 -) bool designable(TQObject * = 0) const; bool scriptable(TQObject * = 0) const; bool stored(TQObject * = 0) const; -%End -%If (TQt_3_0_0 - TQt_3_1_0) - bool designable(TQObject *) const; - bool scriptable(TQObject *) const; - bool stored(TQObject *) const; -%End -%If (TQt_3_0_0 -) bool reset(TQObject *) const; -%End - -%If (- TQt_3_0_0) - bool stored(TQObject *) const; - bool designable() const; - - enum Specification { - Unspecified, - Class, - Reference, - Pointer, - ConstCharStar - }; - - enum Flags { - UnresolvedEnum, - UnresolvedSet, - UnresolvedEnumOrSet, - UnresolvedStored, - UnresolvedDesignable, - NotDesignable, - NotStored, -%If (TQt_2_2_0 -) - StdSet, -%End - }; - - bool testFlags(uint) const; - void setFlags(uint); - void clearFlags(uint); -%End }; %End -%End |