From d2b1c2ef1f1fea3200d8dee5c58fe79649fd13bb Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Fri, 23 Mar 2012 18:19:27 -0700 Subject: Remove WA_PaintOutsidePaintEvent WA_PaintOutsidePaintEvent is only suggested to be used when porting Qt3 code to Qt 4 under X11 platform. and it has been broken now. Change-Id: Ie4297b2a449f1055ca10ada9efb930e6018b1efb Reviewed-by: Friedemann Kleint Reviewed-by: Lars Knoll --- src/corelib/global/qnamespace.h | 1 - src/corelib/global/qnamespace.qdoc | 5 ----- 2 files changed, 6 deletions(-) (limited to 'src/corelib/global') diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index cef244f7b3..edf8a165a0 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -342,7 +342,6 @@ public: WA_UpdatesDisabled = 10, WA_Mapped = 11, WA_MacNoClickThrough = 12, // Mac only - WA_PaintOutsidePaintEvent = 13, WA_InputMethodEnabled = 14, WA_WState_Visible = 15, WA_WState_Hidden = 16, diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 771f974011..881b55037d 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -993,11 +993,6 @@ require native painting primitives, you need to reimplement QWidget::paintEngine() to return 0 and set this flag. - \value WA_PaintOutsidePaintEvent Makes it possible to use QPainter to - paint on the widget outside \l{QWidget::paintEvent()}{paintEvent()}. This - flag is not supported on Windows, Mac OS X or Embedded Linux. We recommend - that you use it only when porting Qt 3 code to Qt 4. - \value WA_PaintUnclipped Makes all painters operating on this widget unclipped. Children of this widget or other widgets in front of it do not clip the area the painter can paint on. This flag is only supported for -- cgit v1.2.3