KDeclarative
kwindowsystemproxy.cpp
38 connect(KWindowSystem::self(), &KWindowSystem::currentDesktopChanged, this, [this](int currentDesktop) {
Q_INVOKABLE void forceActivateWindow(QWindow *window, long time=0)
Sets window window to be the active window.
Definition: kwindowsystemproxy.cpp:103
Q_INVOKABLE void setDesktopName(int desktop, const QString &name)
Sets the name of the specified desktop.
Definition: kwindowsystemproxy.cpp:136
void desktopNamesChanged()
void compositingChanged(bool enabled)
static QString desktopName(int desktop)
static void setOnDesktop(WId win, int desktop)
static void forceActiveWindow(WId win, long time=0)
Q_INVOKABLE bool hasWindow(QWindow *window) const
Test to see if window still managed at present.
Definition: kwindowsystemproxy.cpp:94
static void setOnActivities(WId win, const QStringList &activities)
static int currentDesktop()
Q_INVOKABLE void setOnAllDesktops(QWindow *window, bool onAllDesktops)
Sets window window to be present on all virtual desktops if onAllDesktops true.
Definition: kwindowsystemproxy.cpp:110
Q_INVOKABLE QString desktopName(int desktop) const
Returns the name of the specified desktop.
Definition: kwindowsystemproxy.cpp:131
QMetaMethod fromSignal(PointerToMemberFunction signal)
static void setCurrentDesktop(int desktop)
void showingDesktopChanged(bool showing)
static KWindowSystem * self()
void currentDesktopChanged(int desktop)
static bool hasWId(WId id)
static bool showingDesktop()
static void setShowingDesktop(bool showing)
static void setOnAllDesktops(WId win, bool b)
static int numberOfDesktops()
Q_INVOKABLE void setOnDesktop(QWindow *window, int desktop)
Moves window window to desktop desktop.
Definition: kwindowsystemproxy.cpp:117
void numberOfDesktopsChanged(int num)
static bool compositingActive()
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
WId winId() const const
Q_EMITQ_EMIT
Q_INVOKABLE void setOnActivities(QWindow *window, const QStringList &activities)
Moves window window to activities activities.
Definition: kwindowsystemproxy.cpp:124
static void setDesktopName(int desktop, const QString &name)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:40:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:40:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.