summaryrefslogtreecommitdiffstats
path: root/sip/qt/qwindowdefs.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/qwindowdefs.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/qwindowdefs.sip')
-rw-r--r--sip/qt/qwindowdefs.sip129
1 files changed, 0 insertions, 129 deletions
diff --git a/sip/qt/qwindowdefs.sip b/sip/qt/qwindowdefs.sip
index d694279..5e709db 100644
--- a/sip/qt/qwindowdefs.sip
+++ b/sip/qt/qwindowdefs.sip
@@ -40,141 +40,12 @@ All constant values defined by TQt have equivalent constants defined to Python.
%OptionalInclude qwindowdefs_x11.sip
-%If (- TQt_2_00)
-typedef short TQCOORD;
-
-const int TQCOORD_MIN;
-const int TQCOORD_MAX;
-%End
-
-%If (TQt_2_00 -)
typedef TQ_INT32 TQCOORD;
const TQCOORD TQCOORD_MIN;
const TQCOORD TQCOORD_MAX;
-%End
typedef unsigned TQRgb;
-%If (- TQt_3_0_0)
-char *tqAppName();
-%End
-%If (TQt_3_0_0 -)
const char *tqAppName();
-%End
-
-
-%If (- TQt_2_00)
-
-enum GUIStyle {
- MacStyle,
- WindowsStyle,
- Win3Style,
- PMStyle,
- MotifStyle
-};
-
-
-// Widget state flags.
-
-typedef uint WFlags;
-
-const uint WState_Created;
-const uint WState_Disabled;
-const uint WState_Visible;
-const uint WState_DoHide;
-const uint WState_ClickToFocus;
-const uint WState_TrackMouse;
-const uint WState_BlockUpdates;
-const uint WState_PaintEvent;
-
-// Widget type flags.
-
-const uint WType_TopLevel;
-const uint WType_Modal;
-const uint WType_Popup;
-const uint WType_Desktop;
-
-// Window style flags.
-
-const uint WStyle_Customize;
-const uint WStyle_NormalBorder;
-const uint WStyle_DialogBorder;
-const uint WStyle_NoBorder;
-const uint WStyle_Title;
-const uint WStyle_SysMenu;
-const uint WStyle_Minimize;
-const uint WStyle_Maximize;
-const uint WStyle_MinMax;
-const uint WStyle_Tool;
-const uint WStyle_Mask;
-
-// Miscellaneous widget flags.
-
-const uint WCursorSet;
-const uint WDestructiveClose;
-const uint WPaintDesktop;
-const uint WPaintUnclipped;
-const uint WPaintClever;
-const uint WConfigPending;
-const uint WResizeNoErase;
-const uint WRecreated;
-const uint WExportFontMetrics;
-const uint WExportFontInfo;
-const uint WFocusSet;
-const uint WState_TabToFocus;
-
-
-enum RasterOp {
- CopyROP,
- OrROP,
- XorROP,
- EraseROP,
- NotCopyROP,
- NotOrROP,
- NotXorROP,
- NotEraseROP,
- NotROP
-};
-
-
-// Text alignment flags.
-
-const int AlignLeft;
-const int AlignRight;
-const int AlignHCenter;
-const int AlignTop;
-const int AlignBottom;
-const int AlignVCenter;
-const int AlignCenter;
-
-// Miscellaneous text flags.
-
-const int SingleLine;
-const int DontClip;
-const int ExpandTabs;
-const int ShowPrefix;
-const int WordBreak;
-const int GrayText;
-
-// Image conversion flags.
-
-const int ColorMode_Mask;
-const int AutoColor;
-const int ColorOnly;
-const int MonoOnly;
-const int AlphaDither_Mask;
-const int ThresholdAlphaDither;
-const int OrderedAlphaDither;
-const int DiffuseAlphaDither;
-const int Dither_Mask;
-const int DiffuseDither;
-const int OrderedDither;
-const int ThresholdDither;
-const int DitherMode_Mask;
-const int AutoDither;
-const int PreferDither;
-const int AvoidDither;
-
-%End