summaryrefslogtreecommitdiffstats
path: root/src/compositor
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-07-07 15:12:11 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-07-11 10:05:42 +0000
commita7a2390b8a659b07f44752a538d098e9a762c2eb (patch)
tree3caaede84ab82b58d80b677348cac5c13ef35eeb /src/compositor
parent411a2672f8bb057614abd0aedb3c321d5dc92363 (diff)
Expose QWaylandDrag to the QML API
Change-Id: I688f8c5d6781d695d3554aaec0c11be95cec371b Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/compositor')
-rw-r--r--src/compositor/compositor_api/qwaylandinput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandinput.h b/src/compositor/compositor_api/qwaylandinput.h
index d1cb922b7..51e5ad0ec 100644
--- a/src/compositor/compositor_api/qwaylandinput.h
+++ b/src/compositor/compositor_api/qwaylandinput.h
@@ -67,6 +67,8 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandInputDevice : public QWaylandObject
{
Q_OBJECT
Q_DECLARE_PRIVATE(QWaylandInputDevice)
+
+ Q_PROPERTY(QWaylandDrag *drag READ drag CONSTANT)
public:
enum CapabilityFlag {
// The order should match the enum WL_SEAT_CAPABILITY_*