12#include <QDBusContext>
13#include <QDBusMessage>
23class VirtualDesktopManager;
42 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.KWin")
98 void onShowingDesktopChanged(
bool show,
bool );
101 QString m_serviceName;
102 QDBusMessage m_replyQueryWindowInfo;
108 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.kwin.Compositing")
185 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.KWin.VirtualDesktopManager")
191 Q_PROPERTY(uint count READ count NOTIFY countChanged)
196 Q_PROPERTY(uint rows READ rows WRITE setRows NOTIFY rowsChanged)
201 Q_PROPERTY(QString current READ current WRITE setCurrent NOTIFY currentChanged)
206 Q_PROPERTY(
bool navigationWrappingAround READ isNavigationWrappingAround WRITE setNavigationWrappingAround NOTIFY navigationWrappingAroundChanged)
219 void setRows(uint rows);
222 void setCurrent(const QString &
id);
223 QString current() const;
225 void setNavigationWrappingAround(
bool wraps);
226 bool isNavigationWrappingAround() const;
231 void countChanged(uint count);
232 void rowsChanged(uint rows);
233 void currentChanged(const QString &
id);
234 void navigationWrappingAroundChanged(
bool wraps);
238 void desktopRemoved(const QString &
id);
245 void createDesktop(uint position, const QString &name);
246 void setDesktopName(const QString &
id, const QString &name);
247 void removeDesktop(const QString &
id);
256 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.KWin.Plugins")
258 Q_PROPERTY(QStringList LoadedPlugins READ loadedPlugins)
259 Q_PROPERTY(QStringList AvailablePlugins READ availablePlugins)
264 QStringList loadedPlugins() const;
265 QStringList availablePlugins() const;
268 bool LoadPlugin(const QString &name);
269 void UnloadPlugin(const QString &name);
bool active
Whether the Compositor is active. That is a Scene is present and the Compositor is not shutting down ...
QString compositingNotPossibleReason
The reason why compositing is not possible. Empty String if compositing is possible.
bool isOpenGLBroken() const
QStringList supportedOpenGLPlatformInterfaces
All currently supported OpenGLPlatformInterfaces.
void compositingToggled(bool active)
void reinitialize()
Used by Compositing KCM after settings change.
bool compositingPossible
Whether compositing is possible. Mostly means whether the required X extensions are available.
bool platformRequiresCompositing
bool openGLIsBroken
Whether OpenGL has failed badly in the past (crash) and is considered as broken.
bool isCompositingPossible() const
This class is a wrapper for the org.kde.KWin D-Bus interface.
bool stopActivity(const QString &in0)
Q_NOREPLY void unclutterDesktop()
bool setCurrentDesktop(int desktop)
Q_NOREPLY void showDebugConsole()
bool startActivity(const QString &in0)
DBusInterface(QObject *parent)
QString supportInformation()
QVariantMap queryWindowInfo()
Q_NOREPLY void showDesktop(bool show)
Q_NOREPLY void cascadeDesktop()
~DBusInterface() override
QString activeOutputName()
Q_NOREPLY void reconfigure()
void showingDesktopChanged(bool showing)
Q_NOREPLY void killWindow()
QVariantMap getWindowInfo(const QString &uuid)
Manages the number of available virtual desktops, the layout of those and which virtual desktop is th...
QList< DBusDesktopDataStruct > DBusDesktopDataVector