diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-01-02 12:45:49 +0100 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:09:41 +0200 |
commit | c8c48a1b293c1ae28bf7c6b9d39f74aa3a0e223d (patch) | |
tree | 46c687cadba1fb4d2bf7411e953ca5c1bd6f1d75 /src/compositor/compositor_api/qwaylandoutput.h | |
parent | 6ec46c91e128073794d527910090d735cfeba073 (diff) |
add properties for QWaylandOutput ::compositor and ::window
Change-Id: I704ee2f1b305aa2d3cd040140c8f0c228718b924
Diffstat (limited to 'src/compositor/compositor_api/qwaylandoutput.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandoutput.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandoutput.h b/src/compositor/compositor_api/qwaylandoutput.h index 0dca144d9..adaf0f188 100644 --- a/src/compositor/compositor_api/qwaylandoutput.h +++ b/src/compositor/compositor_api/qwaylandoutput.h @@ -70,6 +70,7 @@ class Q_COMPOSITOR_EXPORT QWaylandOutput : public QObject Q_PROPERTY(QWaylandOutput::Subpixel subpixel READ subpixel WRITE setSubpixel NOTIFY subpixelChanged) Q_PROPERTY(QWaylandOutput::Transform transform READ transform WRITE setTransform NOTIFY transformChanged) Q_PROPERTY(int scaleFactor READ scaleFactor WRITE setScaleFactor NOTIFY scaleFactorChanged) + Q_PROPERTY(QWaylandCompositor *compositor READ compositor CONSTANT) Q_PROPERTY(QWindow *window READ window CONSTANT) Q_ENUMS(Subpixel Transform) public: |