Changeset View
Changeset View
Standalone View
Standalone View
src/client/plasmashell.h
Show First 20 Lines • Show All 283 Lines • ▼ Show 20 Line(s) | 192 | public: | |||
---|---|---|---|---|---|
284 | /** | 284 | /** | ||
285 | * Setting this bit to the window, will make it say it prefers | 285 | * Setting this bit to the window, will make it say it prefers | ||
286 | * to not be listed in the taskbar. Taskbar implementations | 286 | * to not be listed in the taskbar. Taskbar implementations | ||
287 | * may or may not follow this hint. | 287 | * may or may not follow this hint. | ||
288 | * @since 5.5 | 288 | * @since 5.5 | ||
289 | */ | 289 | */ | ||
290 | void setSkipTaskbar(bool skip); | 290 | void setSkipTaskbar(bool skip); | ||
291 | 291 | | |||
292 | /** | ||||
293 | * Requests to hide a surface with Role Panel and PanelBahvior AutoHide. | ||||
sebas: Behavior (typo) | |||||
294 | * | ||||
295 | * Once the compositor has hidden the panel the signal @link{autoHidePanelHidden} gets | ||||
296 | * emitted. Once it is shown again the signal @link{autoHidePanelShown} gets emitted. | ||||
297 | * | ||||
298 | * To show the surface again from client side use @link{requestShowAutoHidingPanel}. | ||||
299 | * | ||||
300 | * @see autoHidePanelHidden | ||||
301 | * @see autoHidePanelShown | ||||
302 | * @see requestShowAutoHidingPanel | ||||
303 | * @since 5.28 | ||||
304 | **/ | ||||
305 | void requestHideAutoHidingPanel(); | ||||
306 | | ||||
sebas: past tense of hide is "hid" | |||||
307 | /** | ||||
308 | * Requests to show a surface with Role Panel and PanelBahvior AutoHide. | ||||
309 | * | ||||
310 | * This request allows the client to show a surface which it previously | ||||
311 | * requested to be hidden with @link{requestHideAutoHidingPanel}. | ||||
312 | * | ||||
313 | * @see autoHidePanelHidden | ||||
314 | * @see autoHidePanelShown | ||||
"showed" is a bit ambiguous here, as that *could* mean it's not shown anymore. Maybe just make it clear that the signal is emitted after the show panel animation is finished? sebas: "showed" is a bit ambiguous here, as that *could* mean it's not shown anymore. Maybe just make… | |||||
315 | * @see requestHideAutoHidingPanel | ||||
316 | * @since 5.28 | ||||
317 | **/ | ||||
318 | void requestShowAutoHidingPanel(); | ||||
319 | | ||||
320 | Q_SIGNALS: | ||||
321 | /** | ||||
322 | * Emitted when the compositor hided an auto hiding panel. | ||||
323 | * @see requestHideAutoHidingPanel | ||||
324 | * @see autoHidePanelShown | ||||
325 | * @see requestShowAutoHidingPanel | ||||
326 | * @since 5.28 | ||||
327 | **/ | ||||
328 | void autoHidePanelHidden(); | ||||
329 | | ||||
330 | /** | ||||
331 | * Emitted when the compositor showed an auto hiding panel. | ||||
332 | * @see requestHideAutoHidingPanel | ||||
333 | * @see autoHidePanelHidden | ||||
334 | * @see requestShowAutoHidingPanel | ||||
335 | * @since 5.28 | ||||
336 | **/ | ||||
337 | void autoHidePanelShown(); | ||||
338 | | ||||
292 | private: | 339 | private: | ||
293 | friend class PlasmaShell; | 340 | friend class PlasmaShell; | ||
294 | class Private; | 341 | class Private; | ||
295 | QScopedPointer<Private> d; | 342 | QScopedPointer<Private> d; | ||
296 | }; | 343 | }; | ||
297 | 344 | | |||
298 | } | 345 | } | ||
299 | } | 346 | } | ||
300 | 347 | | |||
301 | Q_DECLARE_METATYPE(KWayland::Client::PlasmaShellSurface::Role) | 348 | Q_DECLARE_METATYPE(KWayland::Client::PlasmaShellSurface::Role) | ||
302 | Q_DECLARE_METATYPE(KWayland::Client::PlasmaShellSurface::PanelBehavior) | 349 | Q_DECLARE_METATYPE(KWayland::Client::PlasmaShellSurface::PanelBehavior) | ||
303 | 350 | | |||
304 | #endif | 351 | #endif |
Behavior (typo)