Changeset View
Changeset View
Standalone View
Standalone View
src/client/plasmashell.h
Show First 20 Lines • Show All 240 Lines • ▼ Show 20 Line(s) | 190 | public: | |||
---|---|---|---|---|---|
241 | * The role can be used by the Wayland server to e.g. change the stacking order accordingly. | 241 | * The role can be used by the Wayland server to e.g. change the stacking order accordingly. | ||
242 | **/ | 242 | **/ | ||
243 | enum class Role { | 243 | enum class Role { | ||
244 | Normal, ///< A normal Surface | 244 | Normal, ///< A normal Surface | ||
245 | Desktop, ///< The Surface represents a desktop, normally stacked below all other surfaces | 245 | Desktop, ///< The Surface represents a desktop, normally stacked below all other surfaces | ||
246 | Panel, ///< The Surface represents a panel (dock), normally stacked above normal surfaces | 246 | Panel, ///< The Surface represents a panel (dock), normally stacked above normal surfaces | ||
247 | OnScreenDisplay, ///< The Surface represents an on screen display, like a volume changed notification | 247 | OnScreenDisplay, ///< The Surface represents an on screen display, like a volume changed notification | ||
248 | Notification, ///< The Surface represents a notification @since 5.24 | 248 | Notification, ///< The Surface represents a notification @since 5.24 | ||
249 | ToolTip ///< The Surface represents a tooltip @since 5.24 | 249 | ToolTip, ///< The Surface represents a tooltip @since 5.24 | ||
250 | CriticalNotification, ///< The Surface represents a critical notification, like battery is running out @since 5.58 | ||||
250 | }; | 251 | }; | ||
251 | /** | 252 | /** | ||
252 | * Changes the requested Role to @p role. | 253 | * Changes the requested Role to @p role. | ||
253 | * @see role | 254 | * @see role | ||
254 | **/ | 255 | **/ | ||
255 | void setRole(Role role); | 256 | void setRole(Role role); | ||
256 | /** | 257 | /** | ||
257 | * @returns The requested Role, default value is @c Role::Normal. | 258 | * @returns The requested Role, default value is @c Role::Normal. | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |