summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandextendedsurface.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-01-25 14:37:22 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2012-02-01 15:11:56 +0100
commitde7e097bbb1d29db63d70bfb1e3a03c5253316fd (patch)
tree0afb04c51d0d94dbc76b11291f8655a5158eeb2a /src/plugins/platforms/wayland/qwaylandextendedsurface.h
parentaf9010004a410de60ca44005b261361aff004395 (diff)
Added reporting of window and content orientation to surface extension.
Change-Id: I6e182c048282f5edd30f49be19dcc0f020679b85 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandextendedsurface.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylandextendedsurface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandextendedsurface.h b/src/plugins/platforms/wayland/qwaylandextendedsurface.h
index 88c10b876..184fc0d47 100644
--- a/src/plugins/platforms/wayland/qwaylandextendedsurface.h
+++ b/src/plugins/platforms/wayland/qwaylandextendedsurface.h
@@ -66,6 +66,9 @@ class QWaylandExtendedSurface
public:
QWaylandExtendedSurface(QWaylandWindow *window, struct wl_extended_surface *extended_surface);
+ void setWindowOrientation(Qt::ScreenOrientation orientation);
+ void setContentOrientation(Qt::ScreenOrientation orientation);
+
void updateGenericProperty(const QString &name, const QVariant &value);
QVariantMap properties() const;
QVariant property(const QString &name);