KWindowSystem
kwindowinfo.cpp
23 KWindowInfoPrivate *KWindowInfoPrivate::create(WId window, NET::Properties properties, NET::Properties2 properties2)
28 KWindowInfoPrivateDesktopFileNameExtension::KWindowInfoPrivateDesktopFileNameExtension() = default;
29 KWindowInfoPrivateDesktopFileNameExtension::~KWindowInfoPrivateDesktopFileNameExtension() = default;
31 KWindowInfoPrivateGtkApplicationIdExtension::KWindowInfoPrivateGtkApplicationIdExtension() = default;
32 KWindowInfoPrivateGtkApplicationIdExtension::~KWindowInfoPrivateGtkApplicationIdExtension() = default;
53 KWindowInfoPrivate::Private::Private(WId window, NET::Properties properties, NET::Properties2 properties2)
64 KWindowInfoPrivate::KWindowInfoPrivate(WId window, NET::Properties properties, NET::Properties2 properties2)
83 void KWindowInfoPrivate::installDesktopFileNameExtension(KWindowInfoPrivateDesktopFileNameExtension *extension)
88 KWindowInfoPrivateGtkApplicationIdExtension *KWindowInfoPrivate::gtkApplicationIdExtension() const
93 void KWindowInfoPrivate::installGtkApplicationIdExtension(KWindowInfoPrivateGtkApplicationIdExtension *extension)
118 KWindowInfoPrivateDummy::KWindowInfoPrivateDummy(WId window, NET::Properties properties, NET::Properties2 properties2)
QString visibleNameWithState() const
Returns a visible name with state.
Definition: kwindowinfo.cpp:329
int pid() const
Returns the process ID of the window's application if present.
Definition: kwindowinfo.cpp:460
WId groupLeader() const
Returns the leader window for the group the window is in, if any.
Definition: kwindowinfo.cpp:398
This class provides information about a given window in the platform specific windowing system.
Definition: kwindowinfo.h:62
NETExtendedStrut extendedStrut() const
Returns the window extended (partial) strut.
Definition: kwindowinfo.cpp:314
NET::WindowType windowType(NET::WindowTypes supported_types) const
Returns the window type of this window.
Definition: kwindowinfo.cpp:319
QByteArray windowClassClass() const
Returns the class component of the window class for the window.
Definition: kwindowinfo.cpp:403
KGuiItem properties()
QByteArray gtkApplicationId() const
Returns the GTK application id of the window if present.
Definition: kwindowinfo.cpp:436
QStringList activities() const
Returns the list of activity UUIDs this window belongs to.
Definition: kwindowinfo.cpp:378
QRect frameGeometry() const
Returns the frame geometry of the window, i.e.
Definition: kwindowinfo.cpp:388
QByteArray windowClassName() const
Returns the name component of the window class for the window.
Definition: kwindowinfo.cpp:408
KWindowInfo(WId window, NET::Properties properties, NET::Properties2 properties2=NET::Properties2())
Reads all the info about the given window.
Definition: kwindowinfo.cpp:257
NET::MappingState mappingState() const
Returns the mapping state of the window.
Definition: kwindowinfo.cpp:309
bool onAllDesktops() const
Returns true if the window is on all desktops.
Definition: kwindowinfo.cpp:368
QByteArray applicationMenuServiceName() const
Returns service name of a window's application menu if present.
Definition: kwindowinfo.cpp:444
WId transientFor() const
Returns the window identifier of the main window this window belongs to.
Definition: kwindowinfo.cpp:393
bool valid(bool withdrawn_is_valid=false) const
Returns false if this window info is not valid.
Definition: kwindowinfo.cpp:284
QString visibleIconNameWithState() const
Returns a visible icon name with state.
Definition: kwindowinfo.cpp:344
QString visibleIconName() const
Returns the visible name of the window that should be shown in a taskbar.
Definition: kwindowinfo.cpp:339
QByteArray desktopFileName() const
Returns the desktop file name of the window's application if present.
Definition: kwindowinfo.cpp:428
QByteArray clientMachine() const
Returns the client machine for the window.
Definition: kwindowinfo.cpp:418
bool isOnCurrentDesktop() const
Returns true if the window is on the currently active virtual desktop.
Definition: kwindowinfo.cpp:354
bool hasState(NET::States s) const
Returns true if the window has the given state flag set.
Definition: kwindowinfo.cpp:299
bool isOnDesktop(int desktop) const
Returns true if the window is on the given virtual desktop.
Definition: kwindowinfo.cpp:363
QRect geometry() const
Returns the position and size of the window contents.
Definition: kwindowinfo.cpp:383
QString name() const
Returns the name of the window, as specified by the application.
Definition: kwindowinfo.cpp:334
QByteArray applicationMenuObjectPath() const
Returns object path of a window's application menu if present.
Definition: kwindowinfo.cpp:452
KJOBWIDGETS_EXPORT QWidget * window(KJob *job)
QString iconName() const
Returns the name of the window that should be shown in taskbar.
Definition: kwindowinfo.cpp:349
bool actionSupported(NET::Action action) const
Returns true if the given action is currently supported for the window.
Definition: kwindowinfo.cpp:423
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:54:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 03:54:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.