From eada3449b9914a3c1cee005245b90631c617a787 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Thu, 15 Dec 2011 10:18:37 +0100 Subject: Remove widget attribute orientation values from Qt:: enum. These were only actually implemented on Symbian, thus, they aren't too useful, apart from confusing developers when they don't work. Removed per the discussion on: http://lists.qt-project.org/pipermail/development/2011-December/000860.html Change-Id: Id097cb392a3d964364adbe51a72a22927b9c382c Reviewed-by: Lars Knoll --- src/corelib/global/qnamespace.h | 5 ----- src/corelib/global/qnamespace.qdoc | 8 -------- 2 files changed, 13 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 2e4bc0efbf..456be48d9c 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -466,10 +466,6 @@ public: WA_Maemo5StackedWindow = 127, #endif - WA_LockPortraitOrientation = 128, - WA_LockLandscapeOrientation = 129, - WA_AutoOrientation = 130, - #if 0 // these values are reserved for Maemo5 - do not re-use them WA_Maemo5PortraitOrientation = WA_LockPortraitOrientation, WA_Maemo5LandscapeOrientation = WA_LockLandscapeOrientation, @@ -478,7 +474,6 @@ public: #endif WA_X11DoNotAcceptFocus = 132, - WA_SymbianNoSystemRotation = 133, WA_MacNoShadow = 134, // Add new attributes before this line diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 63ac4a95be..4abe981b59 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -1158,13 +1158,6 @@ to this top level window. This attribute has no effect on non-X11 platforms. - \value WA_LockPortraitOrientation Locks the widget to a portrait orientation, - ignoring changes to the display's orientation with respect to the user. - \value WA_LockLandscapeOrientation Locks the widget to a landscape orientation, - ignoring changes to the display's orientation with respect to the user. - \value WA_AutoOrientation Causes the widget to change orientation whenever the - display changes orientation with respect to the user. - \value WA_MacNoShadow Since Qt 4.8, this attribute disables drop shadows for this top level window. Only affects Cocoa builds of Qt for Mac OS X. @@ -1198,7 +1191,6 @@ \omitvalue WA_SetWindowModality \omitvalue WA_WState_WindowOpacitySet \omitvalue WA_WState_AcceptedTouchBeginEvent - \omitvalue WA_SymbianNoSystemRotation */ /*! \typedef Qt::HANDLE -- cgit v1.2.3