KWayland
6 #ifndef WAYLAND_SERVER_PLASMA_WINDOW_MANAGEMENT_INTERFACE_H
7 #define WAYLAND_SERVER_PLASMA_WINDOW_MANAGEMENT_INTERFACE_H
9 #include <KWayland/Server/kwaylandserver_export.h>
11 #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 73)
24 class PlasmaWindowInterface;
25 class SurfaceInterface;
26 class PlasmaVirtualDesktopManagementInterface;
35 KWAYLANDSERVER_DEPRECATED_VERSION(5, 73,
"Port to KWaylandServer")
38 enum class ShowingDesktopState { Disabled, Enabled };
39 void setShowingDesktopState(ShowingDesktopState state);
82 void requestChangeShowingDesktop(ShowingDesktopState requestedState);
88 Private *d_func()
const;
98 KWAYLANDSERVER_DEPRECATED_VERSION(5, 73,
"Port to KWaylandServer")
102 void setTitle(
const QString &title);
103 void setAppId(
const QString &appId);
104 void setPid(quint32 pid);
105 #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 52)
109 KWAYLANDSERVER_DEPRECATED_VERSION(5,
111 "Use PlasmaWindowManagementInterface::addPlasmaVirtualDesktop(const QString&) and "
112 "PlasmaWindowManagementInterface::removePlasmaVirtualDesktop(const QString&)")
113 void setVirtualDesktop(quint32 desktop);
115 void setActive(
bool set);
116 void setMinimized(
bool set);
117 void setMaximized(
bool set);
118 void setFullscreen(
bool set);
119 void setKeepAbove(
bool set);
120 void setKeepBelow(
bool set);
121 void setOnAllDesktops(
bool set);
122 void setDemandsAttention(
bool set);
123 void setCloseable(
bool set);
124 void setMinimizeable(
bool set);
125 void setMaximizeable(
bool set);
126 void setFullscreenable(
bool set);
127 void setSkipTaskbar(
bool skip);
128 void setSkipSwitcher(
bool skip);
129 #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 28)
133 KWAYLANDSERVER_DEPRECATED_VERSION(5, 28,
"Use PlasmaWindowManagementInterface::setIcon(const QIcon&)")
134 void setThemedIconName(
const QString &iconName);
139 void setShadeable(
bool set);
143 void setShaded(
bool set);
147 void setMovable(
bool set);
151 void setResizable(
bool set);
156 void setVirtualDesktopChangeable(
bool set);
188 void setGeometry(
const QRect &geometry);
201 void setIcon(
const QIcon &icon);
210 void addPlasmaVirtualDesktop(
const QString &
id);
217 void removePlasmaVirtualDesktop(
const QString &
id);
232 void setApplicationMenuPaths(
const QString &serviceName,
const QString &objectPath);
239 quint32 internalId()
const;
242 void closeRequested();
246 void moveRequested();
250 void resizeRequested();
251 #if KWAYLANDSERVER_ENABLE_DEPRECATED_SINCE(5, 52)
255 KWAYLANDSERVER_DEPRECATED_VERSION(5,
257 "Use PlasmaWindowManagementInterface::enterPlasmaVirtualDesktopRequested(const QString&) and "
258 "PlasmaWindowManagementInterface::leavePlasmaVirtualDesktopRequested(const QString&)")
259 void virtualDesktopRequested(quint32 desktop);
261 void activeRequested(
bool set);
262 void minimizedRequested(
bool set);
263 void maximizedRequested(
bool set);
264 void fullscreenRequested(
bool set);
265 void keepAboveRequested(
bool set);
266 void keepBelowRequested(
bool set);
267 void demandsAttentionRequested(
bool set);
268 void closeableRequested(
bool set);
269 void minimizeableRequested(
bool set);
270 void maximizeableRequested(
bool set);
271 void fullscreenableRequested(
bool set);
272 void skipTaskbarRequested(
bool set);
273 void skipSwitcherRequested(
bool set);
274 QRect minimizedGeometriesChanged();
278 void shadeableRequested(
bool set);
282 void shadedRequested(
bool set);
286 void movableRequested(
bool set);
290 void resizableRequested(
bool set);
295 void virtualDesktopChangeableRequested(
bool set);
302 void enterPlasmaVirtualDesktopRequested(
const QString &desktop);
310 void enterNewPlasmaVirtualDesktopRequested();
317 void leavePlasmaVirtualDesktopRequested(
const QString &desktop);
330 Q_DECLARE_METATYPE(KWayland::Server::PlasmaWindowManagementInterface::ShowingDesktopState)
Wrapper for the org_kde_plasma_virtual_desktop_management interface.
Class holding the Wayland server display loop.
Base class for all Globals.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:21 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.