From: Lasse Holmstedt Date: Thu, 23 Jun 2011 17:05:52 +0000 (+0200) Subject: Add authentication token to public api X-Git-Tag: qt-v5.0.0-alpha1~248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff25cf098d609eb56c93d4874ceb3d627c00dc51;p=profile%2Fivi%2Fqtwayland.git Add authentication token to public api Reviewed-by: Samuel Rødal --- diff --git a/src/qt-compositor/compositor_api/waylandsurface.cpp b/src/qt-compositor/compositor_api/waylandsurface.cpp index 6793152..90d9734 100644 --- a/src/qt-compositor/compositor_api/waylandsurface.cpp +++ b/src/qt-compositor/compositor_api/waylandsurface.cpp @@ -75,6 +75,12 @@ qint64 WaylandSurface::processId() const return d->surface->processId(); } +QByteArray WaylandSurface::authenticationToken() const +{ + Q_D(const WaylandSurface); + return d->surface->authenticationToken(); +} + void WaylandSurface::sendMousePressEvent(const QPoint &pos, Qt::MouseButton button) { Q_D(WaylandSurface); diff --git a/src/qt-compositor/compositor_api/waylandsurface.h b/src/qt-compositor/compositor_api/waylandsurface.h index 288c3dc..7ce59af 100644 --- a/src/qt-compositor/compositor_api/waylandsurface.h +++ b/src/qt-compositor/compositor_api/waylandsurface.h @@ -94,6 +94,7 @@ public: Wayland::Surface *handle() const; qint64 processId() const; + QByteArray authenticationToken() const; signals: void mapped(const QSize &size);