KWin
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Properties | List of all members
KWin::DBusInterface Class Reference

This class is a wrapper for the org.kde.KWin D-Bus interface. More...

#include <dbusinterface.h>

Inheritance diagram for KWin::DBusInterface:

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
 

Detailed Description

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.

Author
Martin Gräßlin mgrae.nosp@m.ssli.nosp@m.n@kde.nosp@m..org

Definition at line 39 of file dbusinterface.h.

Constructor & Destructor Documentation

◆ DBusInterface()

KWin::DBusInterface::DBusInterface ( QObject * parent)
explicit

Definition at line 39 of file dbusinterface.cpp.

◆ ~DBusInterface()

KWin::DBusInterface::~DBusInterface ( )
override

Definition at line 54 of file dbusinterface.cpp.

Member Function Documentation

◆ activeOutputName

QString KWin::DBusInterface::activeOutputName ( )
slot

Definition at line 89 of file dbusinterface.cpp.

◆ cascadeDesktop

void KWin::DBusInterface::cascadeDesktop ( )
slot

Definition at line 74 of file dbusinterface.cpp.

◆ currentDesktop

int KWin::DBusInterface::currentDesktop ( )
slot

Definition at line 118 of file dbusinterface.cpp.

◆ getWindowInfo

QVariantMap KWin::DBusInterface::getWindowInfo ( const QString & uuid)
slot

Returns a map with information about the window.

The map includes entries such as position, size, status, and more.

Parameters
uuidis a QUuid from Window::internalId().

Definition at line 211 of file dbusinterface.cpp.

◆ killWindow

void KWin::DBusInterface::killWindow ( )
slot

Definition at line 69 of file dbusinterface.cpp.

◆ nextDesktop

void KWin::DBusInterface::nextDesktop ( )
slot

Definition at line 128 of file dbusinterface.cpp.

◆ previousDesktop

void KWin::DBusInterface::previousDesktop ( )
slot

Definition at line 133 of file dbusinterface.cpp.

◆ queryWindowInfo

QVariantMap KWin::DBusInterface::queryWindowInfo ( )
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.

◆ reconfigure

void KWin::DBusInterface::reconfigure ( )
slot

Definition at line 64 of file dbusinterface.cpp.

◆ replace

void KWin::DBusInterface::replace ( )
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.

◆ setCurrentDesktop

bool KWin::DBusInterface::setCurrentDesktop ( int desktop)
slot

Definition at line 123 of file dbusinterface.cpp.

◆ showDebugConsole

void KWin::DBusInterface::showDebugConsole ( )
slot

Definition at line 138 of file dbusinterface.cpp.

◆ showDesktop

void KWin::DBusInterface::showDesktop ( bool show)
slot

Definition at line 221 of file dbusinterface.cpp.

◆ showingDesktop()

bool KWin::DBusInterface::showingDesktop ( ) const

Definition at line 59 of file dbusinterface.cpp.

◆ showingDesktopChanged

void KWin::DBusInterface::showingDesktopChanged ( bool showing)
signal

◆ startActivity

bool KWin::DBusInterface::startActivity ( const QString & in0)
slot

Definition at line 94 of file dbusinterface.cpp.

◆ stopActivity

bool KWin::DBusInterface::stopActivity ( const QString & in0)
slot

Definition at line 106 of file dbusinterface.cpp.

◆ supportInformation

QString KWin::DBusInterface::supportInformation ( )
slot

Definition at line 84 of file dbusinterface.cpp.

◆ unclutterDesktop

void KWin::DBusInterface::unclutterDesktop ( )
slot

Definition at line 79 of file dbusinterface.cpp.

Property Documentation

◆ showingDesktop

bool KWin::DBusInterface::showingDesktop
read

Definition at line 48 of file dbusinterface.h.


The documentation for this class was generated from the following files: