KWindowSystem
kwindowinfo.cpp
19 KWindowInfoPrivate *KWindowInfoPrivate::create(WId window, NET::Properties properties, NET::Properties2 properties2)
24 KWindowInfoPrivateDesktopFileNameExtension::KWindowInfoPrivateDesktopFileNameExtension() = default;
25 KWindowInfoPrivateDesktopFileNameExtension::~KWindowInfoPrivateDesktopFileNameExtension() = default;
27 KWindowInfoPrivateGtkApplicationIdExtension::KWindowInfoPrivateGtkApplicationIdExtension() = default;
28 KWindowInfoPrivateGtkApplicationIdExtension::~KWindowInfoPrivateGtkApplicationIdExtension() = default;
49 KWindowInfoPrivate::Private::Private(WId window, NET::Properties properties, NET::Properties2 properties2)
60 KWindowInfoPrivate::KWindowInfoPrivate(WId window, NET::Properties properties, NET::Properties2 properties2)
79 void KWindowInfoPrivate::installDesktopFileNameExtension(KWindowInfoPrivateDesktopFileNameExtension *extension)
84 KWindowInfoPrivateGtkApplicationIdExtension *KWindowInfoPrivate::gtkApplicationIdExtension() const
89 void KWindowInfoPrivate::installGtkApplicationIdExtension(KWindowInfoPrivateGtkApplicationIdExtension *extension)
114 KWindowInfoPrivateDummy::KWindowInfoPrivateDummy(WId window, NET::Properties properties, NET::Properties2 properties2)
QString visibleNameWithState() const
Returns a visible name with state.
Definition: kwindowinfo.cpp:325
int pid() const
Returns the process ID of the window's application if present.
Definition: kwindowinfo.cpp:452
WId groupLeader() const
Returns the leader window for the group the window is in, if any.
Definition: kwindowinfo.cpp:390
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:310
NET::WindowType windowType(NET::WindowTypes supported_types) const
Returns the window type of this window.
Definition: kwindowinfo.cpp:315
QByteArray windowClassClass() const
Returns the class component of the window class for the window.
Definition: kwindowinfo.cpp:395
KGuiItem properties()
QByteArray gtkApplicationId() const
Returns the GTK application id of the window if present.
Definition: kwindowinfo.cpp:428
QStringList activities() const
Returns the list of activity UUIDs this window belongs to.
Definition: kwindowinfo.cpp:370
QRect frameGeometry() const
Returns the frame geometry of the window, i.e.
Definition: kwindowinfo.cpp:380
QByteArray windowClassName() const
Returns the name component of the window class for the window.
Definition: kwindowinfo.cpp:400
KWindowInfo(WId window, NET::Properties properties, NET::Properties2 properties2=NET::Properties2())
Reads all the info about the given window.
Definition: kwindowinfo.cpp:253
NET::MappingState mappingState() const
Returns the mapping state of the window.
Definition: kwindowinfo.cpp:305
bool onAllDesktops() const
Returns true if the window is on all desktops.
Definition: kwindowinfo.cpp:360
QByteArray applicationMenuServiceName() const
Returns service name of a window's application menu if present.
Definition: kwindowinfo.cpp:436
WId transientFor() const
Returns the window identifier of the main window this window belongs to.
Definition: kwindowinfo.cpp:385
bool valid(bool withdrawn_is_valid=false) const
Returns false if this window info is not valid.
Definition: kwindowinfo.cpp:280
QString visibleIconNameWithState() const
Returns a visible icon name with state.
Definition: kwindowinfo.cpp:340
QString visibleIconName() const
Returns the visible name of the window that should be shown in a taskbar.
Definition: kwindowinfo.cpp:335
QByteArray desktopFileName() const
Returns the desktop file name of the window's application if present.
Definition: kwindowinfo.cpp:420
QByteArray clientMachine() const
Returns the client machine for the window.
Definition: kwindowinfo.cpp:410
bool isOnCurrentDesktop() const
Returns true if the window is on the currently active virtual desktop.
Definition: kwindowinfo.cpp:350
bool hasState(NET::States s) const
Returns true if the window has the given state flag set.
Definition: kwindowinfo.cpp:295
bool isOnDesktop(int desktop) const
Returns true if the window is on the given virtual desktop.
Definition: kwindowinfo.cpp:355
QRect geometry() const
Returns the position and size of the window contents.
Definition: kwindowinfo.cpp:375
QString name() const
Returns the name of the window, as specified by the application.
Definition: kwindowinfo.cpp:330
QByteArray applicationMenuObjectPath() const
Returns object path of a window's application menu if present.
Definition: kwindowinfo.cpp:444
KJOBWIDGETS_EXPORT QWidget * window(KJob *job)
QString iconName() const
Returns the name of the window that should be shown in taskbar.
Definition: kwindowinfo.cpp:345
bool actionSupported(NET::Action action) const
Returns true if the given action is currently supported for the window.
Definition: kwindowinfo.cpp:415
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Aug 17 2022 04:07:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Aug 17 2022 04:07:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.