summaryrefslogtreecommitdiffstats
path: root/sip/qt/qbrush.sip
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-07-29 12:36:09 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-07-31 16:43:31 +0200
commit30381ed7e532384067ad63b4631950d821313199 (patch)
tree88fc97a0997db6456391b72c4df8345a46ae627d /sip/qt/qbrush.sip
parent4978511ebb7e8d31dab64485d1ac87b6e004be81 (diff)
downloadpytqt-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/qbrush.sip')
-rw-r--r--sip/qt/qbrush.sip50
1 files changed, 0 insertions, 50 deletions
diff --git a/sip/qt/qbrush.sip b/sip/qt/qbrush.sip
index 83ddea5..44d8f91 100644
--- a/sip/qt/qbrush.sip
+++ b/sip/qt/qbrush.sip
@@ -30,54 +30,6 @@
%End
-%If (- TQt_2_00)
-
-enum BrushStyle {
- NoBrush,
- SolidPattern,
- Dense1Pattern,
- Dense2Pattern,
- Dense3Pattern,
- Dense4Pattern,
- Dense5Pattern,
- Dense6Pattern,
- Dense7Pattern,
- HorPattern,
- VerPattern,
- CrossPattern,
- BDiagPattern,
- FDiagPattern,
- DiagCrossPattern,
- CustomPattern = 24
-};
-
-
-class TQBrush
-{
-%TypeHeaderCode
-#include <tqbrush.h>
-%End
-
-public:
- TQBrush();
- TQBrush(BrushStyle);
- TQBrush(const TQColor &,BrushStyle = SolidPattern);
- TQBrush(const TQColor &,const TQPixmap &);
- TQBrush(const TQBrush &);
-
- BrushStyle style() const;
- void setStyle(BrushStyle);
- const TQColor &color() const;
- void setColor(const TQColor &);
- TQPixmap *pixmap() const;
- void setPixmap(const TQPixmap &);
-};
-
-%End
-
-
-%If (TQt_2_00 -)
-
class TQBrush : TQt
{
%TypeHeaderCode
@@ -101,5 +53,3 @@ public:
bool operator==(const TQBrush &) const;
bool operator!=(const TQBrush &) const;
};
-
-%End