KWin
|
This class is a wrapper for the org.kde.KWin D-Bus interface. More...
#include <dbusinterface.h>
Public Slots | |
Q_NOREPLY void | cascadeDesktop () |
int | currentDesktop () |
Q_NOREPLY void | killWindow () |
void | nextDesktop () |
void | previousDesktop () |
Q_NOREPLY void | reconfigure () |
bool | setCurrentDesktop (int desktop) |
bool | startActivity (const QString &in0) |
bool | stopActivity (const QString &in0) |
QString | supportInformation () |
QString | activeOutputName () |
Q_NOREPLY void | unclutterDesktop () |
Q_NOREPLY void | showDebugConsole () |
Q_NOREPLY void | replace () |
QVariantMap | queryWindowInfo () |
QVariantMap | getWindowInfo (const QString &uuid) |
Q_NOREPLY void | showDesktop (bool show) |
Signals | |
void | showingDesktopChanged (bool showing) |
Public Member Functions | |
DBusInterface (QObject *parent) | |
~DBusInterface () override | |
bool | showingDesktop () const |
Properties | |
bool | showingDesktop |
This class is a wrapper for the org.kde.KWin D-Bus interface.
The main purpose of this class is to be exported on the D-Bus as object /KWin. It is a pure wrapper to provide the deprecated D-Bus methods which have been removed from Workspace which used to implement the complete D-Bus interface.
Nowadays the D-Bus interfaces are distributed, parts of it are exported on /Compositor, parts on /Effects and parts on /KWin. The implementation in this class just delegates the method calls to the actual implementation in one of the three singletons.
Definition at line 39 of file dbusinterface.h.
|
explicit |
Definition at line 39 of file dbusinterface.cpp.
|
override |
Definition at line 54 of file dbusinterface.cpp.
|
slot |
Definition at line 89 of file dbusinterface.cpp.
|
slot |
Definition at line 74 of file dbusinterface.cpp.
|
slot |
Definition at line 118 of file dbusinterface.cpp.
|
slot |
Returns a map with information about the window.
The map includes entries such as position, size, status, and more.
uuid | is a QUuid from Window::internalId(). |
Definition at line 211 of file dbusinterface.cpp.
|
slot |
Definition at line 69 of file dbusinterface.cpp.
|
slot |
Definition at line 128 of file dbusinterface.cpp.
|
slot |
Definition at line 133 of file dbusinterface.cpp.
|
slot |
Allows the user to pick a window and get info on it.
When called the user's mouse cursor will become a targeting reticule. On clicking a window with the target a map will be returned with various information about the picked window, such as: height, width, minimized, fullscreen, etc.
Definition at line 188 of file dbusinterface.cpp.
|
slot |
Definition at line 64 of file dbusinterface.cpp.
|
slot |
Instructs kwin_wayland to restart itself.
This acts as an implementation detail of: kwin_wayland –replace
Definition at line 144 of file dbusinterface.cpp.
|
slot |
Definition at line 123 of file dbusinterface.cpp.
|
slot |
Definition at line 138 of file dbusinterface.cpp.
|
slot |
Definition at line 221 of file dbusinterface.cpp.
bool KWin::DBusInterface::showingDesktop | ( | ) | const |
Definition at line 59 of file dbusinterface.cpp.
|
signal |
|
slot |
Definition at line 94 of file dbusinterface.cpp.
|
slot |
Definition at line 106 of file dbusinterface.cpp.
|
slot |
Definition at line 84 of file dbusinterface.cpp.
|
slot |
Definition at line 79 of file dbusinterface.cpp.
|
read |
Definition at line 48 of file dbusinterface.h.