Wrapper for the org_kde_plasma_virtual_desktop_management interface.
More...
#include <plasmavirtualdesktop.h>
Wrapper for the org_kde_plasma_virtual_desktop_management interface.
This class provides a convenient wrapper for the org_kde_plasma_virtual_desktop_management interface.
Definition at line 25 of file plasmavirtualdesktop.h.
◆ PlasmaVirtualDesktopManagementInterface()
KWin::PlasmaVirtualDesktopManagementInterface::PlasmaVirtualDesktopManagementInterface |
( |
Display * | display, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
◆ ~PlasmaVirtualDesktopManagementInterface()
KWin::PlasmaVirtualDesktopManagementInterface::~PlasmaVirtualDesktopManagementInterface |
( |
| ) |
|
|
override |
◆ createDesktop()
PlasmaVirtualDesktopInterface * KWin::PlasmaVirtualDesktopManagementInterface::createDesktop |
( |
const QString & | id, |
|
|
quint32 | position = std::numeric_limits<uint32_t>::max() ) |
- Returns
- A desktop identified uniquely by this id, if not found a new desktop will be created for this id at a given position.
- Parameters
-
id | the id for the desktop |
position | the position the desktop will be in, if not provided, it will be appended at the end. If the desktop was already existing, position is ignored. |
Definition at line 155 of file plasmavirtualdesktop.cpp.
◆ desktop()
◆ desktopActivated
void KWin::PlasmaVirtualDesktopManagementInterface::desktopActivated |
( |
const QString & | id | ) |
|
|
signal |
A desktop has been activated
◆ desktopCreateRequested
void KWin::PlasmaVirtualDesktopManagementInterface::desktopCreateRequested |
( |
const QString & | name, |
|
|
quint32 | position ) |
|
signal |
The client asked to create a desktop, It's responsibility of the server deciding whether to create it or not.
- Parameters
-
name | The desired user readable name |
position | The desired position. Normalized, guaranteed to be in the range 0-count |
◆ desktopRemoveRequested
void KWin::PlasmaVirtualDesktopManagementInterface::desktopRemoveRequested |
( |
const QString & | id | ) |
|
|
signal |
The client asked to remove a desktop, It's responsibility of the server deciding whether to remove it or not.
◆ desktops()
◆ removeDesktop()
void KWin::PlasmaVirtualDesktopManagementInterface::removeDesktop |
( |
const QString & | id | ) |
|
◆ sendDone()
void KWin::PlasmaVirtualDesktopManagementInterface::sendDone |
( |
| ) |
|
Inform the clients that all the properties have been sent, and their client-side representation is complete.
Definition at line 209 of file plasmavirtualdesktop.cpp.
◆ setRows()
void KWin::PlasmaVirtualDesktopManagementInterface::setRows |
( |
quint32 | rows | ) |
|
The documentation for this class was generated from the following files: