KWayland
plasmashell.cpp
40 static void autoHidingPanelHiddenCallback(void *data, org_kde_plasma_surface *org_kde_plasma_surface);
41 static void autoHidingPanelShownCallback(void *data, org_kde_plasma_surface *org_kde_plasma_surface);
170 const org_kde_plasma_surface_listener PlasmaShellSurface::Private::s_listener = {autoHidingPanelHiddenCallback, autoHidingPanelShownCallback};
172 void PlasmaShellSurface::Private::autoHidingPanelHiddenCallback(void *data, org_kde_plasma_surface *org_kde_plasma_surface)
179 void PlasmaShellSurface::Private::autoHidingPanelShownCallback(void *data, org_kde_plasma_surface *org_kde_plasma_surface)
void setPanelTakesFocus(bool takesFocus)
Set whether a PlasmaShellSurface should get focus or not.
Definition: plasmashell.cpp:346
Q_EMITQ_EMIT
Wrapper for the org_kde_plasma_surface interface.
Definition: plasmashell.h:173
PlasmaShellSurface * createSurface(wl_surface *surface, QObject *parent=nullptr)
Creates a PlasmaShellSurface for the given surface and sets it up.
Definition: plasmashell.cpp:96
int x() const const
int y() const const
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void openUnderCursor()
Request that the initial position of this surface will be under the cursor.
Definition: plasmashell.cpp:242
@ CriticalNotification
The Surface represents a critical notification, like battery is running out.
void requestHideAutoHidingPanel()
Requests to hide a surface with Role Panel and PanelBahvior AutoHide.
Definition: plasmashell.cpp:336
void requestShowAutoHidingPanel()
Requests to show a surface with Role Panel and PanelBahvior AutoHide.
Definition: plasmashell.cpp:341
void setSkipTaskbar(bool skip)
Setting this bit to the window, will make it say it prefers to not be listed in the taskbar.
Definition: plasmashell.cpp:326
void interfaceAboutToBeDestroyed()
This signal is emitted right before the data is destroyed.
@ Panel
The Surface represents a panel (dock), normally stacked above normal surfaces.
void setEventQueue(EventQueue *queue)
Sets the queue to use for creating a Surface.
Definition: plasmashell.cpp:86
void interfaceAboutToBeReleased()
This signal is emitted right before the interface is released.
void setup(org_kde_plasma_shell *shell)
Setup this Shell to manage the shell.
Definition: plasmashell.cpp:79
void setup(org_kde_plasma_surface *surface)
Setup this PlasmaShellSurface to manage the surface.
Definition: plasmashell.cpp:207
void setPanelBehavior(PanelBehavior behavior)
Sets the PanelBehavior for a PlasmaShellSurface with Role Role::Panel.
Definition: plasmashell.cpp:302
@ Notification
The Surface represents a notification.
static PlasmaShellSurface * get(Surface *surf)
Definition: plasmashell.cpp:212
PanelBehavior
Describes how a PlasmaShellSurface with role Role::Panel should behave.
Definition: plasmashell.h:266
void setPosition(const QPoint &point)
Requests to position this PlasmaShellSurface at point in global coordinates.
Definition: plasmashell.cpp:236
@ Desktop
The Surface represents a desktop, normally stacked below all other surfaces.
QObject * parent() const const
@ OnScreenDisplay
The Surface represents an on screen display, like a volume changed notification.
virtual QVariant get(ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName)
void setSkipSwitcher(bool skip)
Setting this bit on a window will indicate it does not prefer to be included in a window switcher.
Definition: plasmashell.cpp:331
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Feb 8 2023 03:59:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Feb 8 2023 03:59:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.