summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/waylandsurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor_api/waylandsurface.h')
-rw-r--r--src/compositor/compositor_api/waylandsurface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/waylandsurface.h b/src/compositor/compositor_api/waylandsurface.h
index 6cfe084a9..ff3eb47fa 100644
--- a/src/compositor/compositor_api/waylandsurface.h
+++ b/src/compositor/compositor_api/waylandsurface.h
@@ -74,6 +74,7 @@ class Q_COMPOSITOR_EXPORT WaylandSurface : public QObject
Q_PROPERTY(QPointF pos READ pos WRITE setPos NOTIFY posChanged)
Q_PROPERTY(WaylandSurface::WindowFlags windowFlags READ windowFlags NOTIFY windowFlagsChanged)
Q_PROPERTY(Qt::ScreenOrientation contentOrientation READ contentOrientation NOTIFY contentOrientationChanged)
+ Q_PROPERTY(QString className READ className NOTIFY classNameChanged)
Q_PROPERTY(QString title READ title NOTIFY titleChanged)
Q_PROPERTY(Qt::ScreenOrientations orientationUpdateMask READ orientationUpdateMask NOTIFY orientationUpdateMaskChanged)
@@ -146,6 +147,8 @@ public:
WaylandCompositor *compositor() const;
+ QString className() const;
+
QString title() const;
bool transientInactive() const;
@@ -162,6 +165,7 @@ signals:
void contentOrientationChanged();
void orientationUpdateMaskChanged();
void extendedSurfaceReady();
+ void classNameChanged();
void titleChanged();
};