KWindowSystem
kwindowsystem.cpp
27// QPoint and QSize all have handy / operators which are useful for scaling, positions and sizes for high DPI support
static void setNewStartupId(QWindow *window, const QByteArray &startup_id)
Use this function if the application got a request with startup notification from outside (for exampl...
Definition kstartupinfo.cpp:557
Convenience access to certain properties and features of window systems.
Definition kwindowsystem.h:27
static Q_INVOKABLE void activateWindow(QWindow *window, long time=0)
Requests that window window is activated.
Definition kwindowsystem.cpp:81
static void setShowingDesktop(bool showing)
Sets the state of the "showing desktop" mode of the window manager.
Definition kwindowsystem.cpp:123
static void setMainWindow(QWindow *subwindow, WId mainwindow)
Sets the parent window of subwindow to be mainwindow.
Definition kwindowsystem.cpp:87
static Q_INVOKABLE void setCurrentXdgActivationToken(const QString &token)
Sets the token that will be used when activateWindow is called next.
Definition kwindowsystem.cpp:190
static void updateStartupId(QWindow *window)
Updates the platform-specific startup id, if any.
Definition kwindowsystem.cpp:166
static Platform platform()
Returns the Platform used by the QGuiApplication.
Definition kwindowsystem.cpp:150
Platform
Enum describing the windowing system platform used by the QGuiApplication.
Definition kwindowsystem.h:132
bool isEmpty() const const
QCoreApplication * instance()
platformName
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
void destroyed(QObject *obj)
void moveToThread(QThread *targetThread)
QSize size() const const
QPoint topLeft() const const
QString fromLocal8Bit(QByteArrayView str)
bool isEmpty() const const
qulonglong toULongLong(bool *ok, int base) const const
CaseInsensitive
QWindow * fromWinId(WId id)
void setTransientParent(QWindow *parent)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.