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/qcursor.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/qcursor.sip')
-rw-r--r-- | sip/qt/qcursor.sip | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/sip/qt/qcursor.sip b/sip/qt/qcursor.sip index 2256cdb..3a8d9ca 100644 --- a/sip/qt/qcursor.sip +++ b/sip/qt/qcursor.sip @@ -34,78 +34,6 @@ %End -%If (- TQt_2_00) -// Global cursors. - -const TQCursor arrowCursor; -const TQCursor upArrowCursor; -const TQCursor crossCursor; -const TQCursor waitCursor; -const TQCursor ibeamCursor; -const TQCursor sizeVerCursor; -const TQCursor sizeHorCursor; -const TQCursor sizeBDiagCursor; -const TQCursor sizeFDiagCursor; -const TQCursor sizeAllCursor; -const TQCursor blankCursor; -%End - - -%If (- TQt_3_0_0) -enum TQCursorShape { - ArrowCursor, - UpArrowCursor, - CrossCursor, - WaitCursor, - IbeamCursor, - SizeVerCursor, - SizeHorCursor, - SizeBDiagCursor, - SizeFDiagCursor, - SizeAllCursor, - BlankCursor, - LastCursor = BlankCursor, - BitmapCursor = 24 -}; - - -class TQCursor -{ -%TypeHeaderCode -#include <tqcursor.h> -%End - -public: - TQCursor(); - TQCursor(int); - TQCursor(const TQBitmap &,const TQBitmap &,int = -1,int = -1); -%If (TQt_2_00 -) - TQCursor(const TQPixmap &,int = -1,int = -1); -%End - TQCursor(const TQCursor &); - - int shape() const; - void setShape(int); - const TQBitmap *bitmap() const; - const TQBitmap *mask() const; - TQPoint hotSpot() const; -%If (- TQt_2_00) - HANDLE handle() const; -%End -%If (TQt_2_00 -) -%If (WS_X11) - HANDLE handle() const; -%End -%End - static TQPoint pos(); - static void setPos(int,int); - static void setPos(const TQPoint &); - static void initialize(); - static void cleanup(); -}; -%End - -%If (TQt_3_0_0 -) class TQCursor : TQt { %TypeHeaderCode @@ -127,11 +55,9 @@ public: %If (WS_X11) HANDLE handle() const; -%If (TQt_3_3_0 -) // This would have the same Python signature as TQCursor(int). //TQCursor(HANDLE); %End -%End static TQPoint pos(); static void setPos(int,int); static void setPos(const TQPoint &); @@ -141,4 +67,3 @@ public: static int x11Screen(); %End }; -%End |