diff options
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 |