summaryrefslogtreecommitdiff
path: root/src/compositor/extensions/qwaylandshell.h
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@kdab.com>2016-02-03 10:42:27 +0200
committerGiulio Camuffo <giuliocamuffo@gmail.com>2016-02-12 15:00:16 +0000
commit74b1ec474d1d48242893dcaf58b8a35f155f3fc3 (patch)
treea439d3307b7511eab756d1e90a44a70c5d2715a2 /src/compositor/extensions/qwaylandshell.h
parent03a8036674d07daadd2ee716f92e840a18ed2753 (diff)
downloadqtwayland-74b1ec474d1d48242893dcaf58b8a35f155f3fc3.tar.gz
Expose a method to send ping events in QWaylandShellSurface
It must be callable by the user so it must be public API. Change-Id: Ic028843189148130a57a21e6e64840bd400dc7dc Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Diffstat (limited to 'src/compositor/extensions/qwaylandshell.h')
-rw-r--r--src/compositor/extensions/qwaylandshell.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandshell.h b/src/compositor/extensions/qwaylandshell.h
index 225aeeb4..403d7ca9 100644
--- a/src/compositor/extensions/qwaylandshell.h
+++ b/src/compositor/extensions/qwaylandshell.h
@@ -125,6 +125,10 @@ public:
Q_INVOKABLE QSize sizeForResize(const QSizeF &size, const QPointF &delta, ResizeEdge edges);
Q_INVOKABLE void sendConfigure(const QSize &size, ResizeEdge edges);
Q_INVOKABLE void sendPopupDone();
+
+public Q_SLOTS:
+ void ping();
+
Q_SIGNALS:
void surfaceChanged();
void titleChanged();