diff options
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r-- | src/gui/kernel/qwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 499582e348..20cc823f2e 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -47,6 +47,8 @@ #include <QtCore/QMargins> #include <QtCore/QRect> +#include <QtCore/qnamespace.h> + #include <QtGui/qsurface.h> #include <QtGui/qsurfaceformat.h> #include <QtGui/qwindowdefs.h> @@ -126,6 +128,9 @@ public: bool isActive() const; + Qt::ScreenOrientation orientation() const; + void setOrientation(Qt::ScreenOrientation orientation); + Qt::WindowState windowState() const; void setWindowState(Qt::WindowState state); |