Commit 98701b6f authored by Benjamin Port's avatar Benjamin Port Committed by Benjamin Port
Browse files

Wayland server getters => const

parent 30a5b111
...@@ -97,26 +97,32 @@ public: ...@@ -97,26 +97,32 @@ public:
bool init(const QByteArray &socketName = QByteArray(), InitializationFlags flags = InitializationFlag::NoOptions); bool init(const QByteArray &socketName = QByteArray(), InitializationFlags flags = InitializationFlag::NoOptions);
void terminateClientConnections(); void terminateClientConnections();
KWaylandServer::Display *display() { KWaylandServer::Display *display() const
{
return m_display; return m_display;
} }
KWaylandServer::CompositorInterface *compositor() { KWaylandServer::CompositorInterface *compositor() const
{
return m_compositor; return m_compositor;
} }
KWaylandServer::SeatInterface *seat() { KWaylandServer::SeatInterface *seat() const
{
return m_seat; return m_seat;
} }
KWaylandServer::TabletManagerInterface *tabletManager() KWaylandServer::TabletManagerInterface *tabletManager() const
{ {
return m_tabletManager; return m_tabletManager;
} }
KWaylandServer::DataDeviceManagerInterface *dataDeviceManager() { KWaylandServer::DataDeviceManagerInterface *dataDeviceManager() const
{
return m_dataDeviceManager; return m_dataDeviceManager;
} }
KWaylandServer::PlasmaVirtualDesktopManagementInterface *virtualDesktopManagement() { KWaylandServer::PlasmaVirtualDesktopManagementInterface *virtualDesktopManagement() const
{
return m_virtualDesktopManagement; return m_virtualDesktopManagement;
} }
KWaylandServer::PlasmaWindowManagementInterface *windowManagement() { KWaylandServer::PlasmaWindowManagementInterface *windowManagement() const
{
return m_windowManagement; return m_windowManagement;
} }
KWaylandServer::ServerSideDecorationManagerInterface *decorationManager() const { KWaylandServer::ServerSideDecorationManagerInterface *decorationManager() const {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment