diff options
author | aneejit1 <aneejit1@gmail.com> | 2022-07-29 12:36:09 +0000 |
---|---|---|
committer | aneejit1 <aneejit1@gmail.com> | 2022-07-30 17:54:15 +0000 |
commit | 33a0297b35ab40e2d09cf37e351095b58725c8d5 (patch) | |
tree | 7eb6d8c710dcb638f2ac00776a3f523311e19c50 /sip/qt/qpalette.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 <aneejit1@gmail.com>
Diffstat (limited to 'sip/qt/qpalette.sip')
-rw-r--r-- | sip/qt/qpalette.sip | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sip/qt/qpalette.sip b/sip/qt/qpalette.sip index f1489de..6e4bd98 100644 --- a/sip/qt/qpalette.sip +++ b/sip/qt/qpalette.sip @@ -39,21 +39,10 @@ class TQPalette public: TQPalette(); TQPalette(const TQColor &); -%If (TQt_2_00 -) TQPalette(const TQColor &,const TQColor &); -%End TQPalette(const TQColorGroup &,const TQColorGroup &,const TQColorGroup &); TQPalette(const TQPalette &); -%If (TQt_2_00 - TQt_2_1_0) - enum ColorGroup { - Normal, - Disabled, - Active, - NColorGroups - }; -%End -%If (TQt_2_1_0 -) enum ColorGroup { Normal, Disabled, @@ -61,31 +50,24 @@ public: Inactive, NColorGroups }; -%End -%If (TQt_2_00 -) const TQColor &color(ColorGroup,TQColorGroup::ColorRole) const; const TQBrush &brush(ColorGroup,TQColorGroup::ColorRole) const; void setColor(ColorGroup,TQColorGroup::ColorRole,const TQColor &); void setBrush(ColorGroup,TQColorGroup::ColorRole,const TQBrush &); void setColor(TQColorGroup::ColorRole,const TQColor &); void setBrush(TQColorGroup::ColorRole,const TQBrush &); -%End TQPalette copy() const; const TQColorGroup &active() const; const TQColorGroup &disabled() const; -%If (TQt_2_1_0 -) const TQColorGroup &inactive() const; -%End const TQColorGroup &normal() const; void setActive(const TQColorGroup &); void setDisabled(const TQColorGroup &); -%If (TQt_2_1_0 -) void setInactive(const TQColorGroup &); -%End void setNormal(const TQColorGroup &); bool operator==(const TQPalette &) const; @@ -94,9 +76,7 @@ public: bool isCopyOf(const TQPalette &); int serialNumber() const; -%If (TQt_3_0_0 -) // These are defined in TQt3, but don't appear in the documentation. //static TQColorGroup::ColorRole foregroundRoleFromMode(TQt::BackgroundMode); //static TQColorGroup::ColorRole backgroundRoleFromMode(TQt::BackgroundMode); -%End }; |