path: root/src/gui/kernel/qwindow.h
diff options
authorSamuel Rødal <>2012-12-05 17:38:58 +0100
committerThe Qt Project <>2012-12-06 20:37:13 +0100
commit7da7bbcd874197054df5e5691d41d4e2dbe55f4a (patch)
tree4886798813f949e2b96f4341d36704485a1c6656 /src/gui/kernel/qwindow.h
parent675676aba1e71410fa6cfca430ab9bd64ebdcdaa (diff)
Removed requestOrientation() API from QWindow.
There are no proper implementations of this API, and as it stands it only acts to confuse anyone who stumbles across it. It will be better to revisit the full cross platform orientation API story for 5.1. Change-Id: Iff7054a32c6e5e4ad0cc0493a5e4ecc35a6ec4f3 Reviewed-by: Richard Moe Gustavsen <> Reviewed-by: Shawn Rutledge <> Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 179db9964f..6dcd4ed477 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -157,9 +157,6 @@ public:
qreal devicePixelRatio() const;
- bool requestOrientation(Qt::ScreenOrientation orientation);
- Qt::ScreenOrientation orientation() const;
Qt::WindowState windowState() const;
void setWindowState(Qt::WindowState state);