KWayland::Client::PlasmaWindow

Search for usage in LXR

KWayland::Client::PlasmaWindow Class Reference

#include <plasmawindowmanagement.h>

Inheritance diagram for KWayland::Client::PlasmaWindow:

Signals

void activeChanged ()
 
void appIdChanged ()
 
void applicationMenuChanged ()
 
void closeableChanged ()
 
void demandsAttentionChanged ()
 
void fullscreenableChanged ()
 
void fullscreenChanged ()
 
void geometryChanged ()
 
void iconChanged ()
 
void keepAboveChanged ()
 
void keepBelowChanged ()
 
void maximizeableChanged ()
 
void maximizedChanged ()
 
void minimizeableChanged ()
 
void minimizedChanged ()
 
void movableChanged ()
 
void onAllDesktopsChanged ()
 
void parentWindowChanged ()
 
void plasmaActivityEntered (const QString &id)
 
void plasmaActivityLeft (const QString &id)
 
void plasmaVirtualDesktopEntered (const QString &id)
 
void plasmaVirtualDesktopLeft (const QString &id)
 
void resizableChanged ()
 
void resourceNameChanged ()
 
void shadeableChanged ()
 
void shadedChanged ()
 
void skipSwitcherChanged ()
 
void skipTaskbarChanged ()
 
void titleChanged ()
 
void unmapped ()
 
void virtualDesktopChangeableChanged ()
 
void virtualDesktopChanged ()
 

Public Member Functions

QString appId () const
 
QString applicationMenuObjectPath () const
 
QString applicationMenuServiceName () const
 
void destroy ()
 
QRect geometry () const
 
QIcon icon () const
 
quint32 internalId () const
 
bool isActive () const
 
bool isCloseable () const
 
bool isDemandingAttention () const
 
bool isFullscreen () const
 
bool isFullscreenable () const
 
bool isKeepAbove () const
 
bool isKeepBelow () const
 
bool isMaximizeable () const
 
bool isMaximized () const
 
bool isMinimizeable () const
 
bool isMinimized () const
 
bool isMovable () const
 
bool isOnAllDesktops () const
 
bool isResizable () const
 
bool isShadeable () const
 
bool isShaded () const
 
bool isValid () const
 
bool isVirtualDesktopChangeable () const
 
 operator org_kde_plasma_window * ()
 
 operator org_kde_plasma_window * () const
 
QPointer< PlasmaWindowparentWindow () const
 
quint32 pid () const
 
QStringList plasmaActivities () const
 
QStringList plasmaVirtualDesktops () const
 
void release ()
 
void requestActivate ()
 
void requestClose ()
 
void requestEnterActivity (const QString &id)
 
void requestEnterNewVirtualDesktop ()
 
void requestEnterVirtualDesktop (const QString &id)
 
void requestLeaveActivity (const QString &id)
 
void requestLeaveVirtualDesktop (const QString &id)
 
void requestMove ()
 
void requestResize ()
 
void requestToggleKeepAbove ()
 
void requestToggleKeepBelow ()
 
void requestToggleMaximized ()
 
void requestToggleMinimized ()
 
void requestToggleShaded ()
 
void requestVirtualDesktop (quint32 desktop)
 
QString resourceName () const
 
void sendToOutput (KWayland::Client::Output *output) const
 
void setMinimizedGeometry (Surface *panel, const QRect &geom)
 
bool skipSwitcher () const
 
bool skipTaskbar () const
 
QString title () const
 
void unsetMinimizedGeometry (Surface *panel)
 
QByteArray uuid () const
 
quint32 virtualDesktop () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo ()
 
void dumpObjectInfo () const const
 
void dumpObjectTree ()
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_DISABLE_COPY (Class)
 
 Q_DISABLE_COPY_MOVE (Class)
 
 Q_DISABLE_MOVE (Class)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qFindChild (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
 
QList< T > qFindChildren (const QObject *obj, const QString &name)
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType)
 
QThreadthread () const const
 

Additional Inherited Members

- Properties inherited from QObject
 objectName
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Wrapper for the org_kde_plasma_window interface.

A PlasmaWindow gets created by the PlasmaWindowManagement and announced through the PlasmaWindowManagement::windowCreated signal. The PlasmaWindow encapsulates state about a window managed by the Wayland server and allows to request state changes.

The PlasmaWindow will be automatically deleted when the PlasmaWindow gets unmapped.

This class is a convenient wrapper for the org_kde_plasma_window interface. The PlasmaWindow gets created by PlasmaWindowManagement.

See also
PlasmaWindowManager

Definition at line 252 of file plasmawindowmanagement.h.

Member Function Documentation

◆ activeChanged

void KWayland::Client::PlasmaWindow::activeChanged ( )
signal

The window became active or inactive.

See also
isActive

◆ appId()

QString KWayland::Client::PlasmaWindow::appId ( ) const
Returns
the application id which should reflect the name of a desktop file.
See also
appIdChanged

Definition at line 931 of file plasmawindowmanagement.cpp.

◆ appIdChanged

void KWayland::Client::PlasmaWindow::appIdChanged ( )
signal

The application id changed.

See also
appId

◆ applicationMenuChanged

void KWayland::Client::PlasmaWindow::applicationMenuChanged ( )
signal

This signal is emitted when either the D-BUS service name or object path for the window's application menu changes.

Since
5.69

◆ applicationMenuObjectPath()

QString KWayland::Client::PlasmaWindow::applicationMenuObjectPath ( ) const

Return the D-BUS object path to a windows's application menu.

Since
5.69

Definition at line 1063 of file plasmawindowmanagement.cpp.

◆ applicationMenuServiceName()

QString KWayland::Client::PlasmaWindow::applicationMenuServiceName ( ) const

Return the D-BUS service name for a window's application menu.

Since
5.69

Definition at line 1068 of file plasmawindowmanagement.cpp.

◆ closeableChanged

void KWayland::Client::PlasmaWindow::closeableChanged ( )
signal

The closeable state changed.

See also
isCloseable

◆ demandsAttentionChanged

void KWayland::Client::PlasmaWindow::demandsAttentionChanged ( )
signal

The demands attention state changed.

See also
isDemandingAttention

◆ destroy()

void KWayland::Client::PlasmaWindow::destroy ( )

Destroys the data held by this PlasmaWindow.

This method is supposed to be used when the connection to the Wayland server goes away. If the connection is not valid anymore, it's not possible to call release anymore as that calls into the Wayland connection and the call would fail. This method cleans up the data, so that the instance can be deleted or set up to a new org_kde_plasma_window interface once there is a new connection available.

It is suggested to connect this method to ConnectionThread::connectionDied:

See also
release

Definition at line 906 of file plasmawindowmanagement.cpp.

◆ fullscreenableChanged

void KWayland::Client::PlasmaWindow::fullscreenableChanged ( )
signal

The fullscreenable state changed.

See also
isFullscreenable

◆ fullscreenChanged

void KWayland::Client::PlasmaWindow::fullscreenChanged ( )
signal

The fullscreen state changed.

See also
isFullscreen

◆ geometry()

QRect KWayland::Client::PlasmaWindow::geometry ( ) const
Returns
The window geometry in absolute coordinates.
See also
geometryChanged
Since
5.25

Definition at line 1172 of file plasmawindowmanagement.cpp.

◆ geometryChanged

void KWayland::Client::PlasmaWindow::geometryChanged ( )
signal

This signal is emitted whenever the window geometry changes.

See also
geometry
Since
5.25

◆ icon()

QIcon KWayland::Client::PlasmaWindow::icon ( ) const
Returns
The icon of the window.
See also
iconChanged

Definition at line 1033 of file plasmawindowmanagement.cpp.

◆ iconChanged

void KWayland::Client::PlasmaWindow::iconChanged ( )
signal

The window icon changed.

See also
icon

◆ internalId()

quint32 KWayland::Client::PlasmaWindow::internalId ( ) const

An internal window identifier.

This is not a global window identifier. This identifier does not correspond to QWindow::winId in any way.

Deprecated:
Since 5.73, use uuid(const QString &) instead

Definition at line 1156 of file plasmawindowmanagement.cpp.

◆ isActive()

bool KWayland::Client::PlasmaWindow::isActive ( ) const
Returns
Whether the window is currently the active Window.
See also
activeChanged

Definition at line 958 of file plasmawindowmanagement.cpp.

◆ isCloseable()

bool KWayland::Client::PlasmaWindow::isCloseable ( ) const
Returns
Whether the window can be closed.
See also
closeableChanged

Definition at line 1003 of file plasmawindowmanagement.cpp.

◆ isDemandingAttention()

bool KWayland::Client::PlasmaWindow::isDemandingAttention ( ) const
Returns
Whether the window is demanding attention.
See also
demandsAttentionChanged

Definition at line 998 of file plasmawindowmanagement.cpp.

◆ isFullscreen()

bool KWayland::Client::PlasmaWindow::isFullscreen ( ) const
Returns
Whether the window is fullscreen
See also
fullscreenChanged

Definition at line 963 of file plasmawindowmanagement.cpp.

◆ isFullscreenable()

bool KWayland::Client::PlasmaWindow::isFullscreenable ( ) const
Returns
Whether the window can be set to fullscreen.
See also
fullscreenableChanged

Definition at line 1008 of file plasmawindowmanagement.cpp.

◆ isKeepAbove()

bool KWayland::Client::PlasmaWindow::isKeepAbove ( ) const
Returns
Whether the window is kept above other windows.
See also
keepAboveChanged

Definition at line 968 of file plasmawindowmanagement.cpp.

◆ isKeepBelow()

bool KWayland::Client::PlasmaWindow::isKeepBelow ( ) const
Returns
Whether the window is kept below other window
See also
keepBelowChanged

Definition at line 973 of file plasmawindowmanagement.cpp.

◆ isMaximizeable()

bool KWayland::Client::PlasmaWindow::isMaximizeable ( ) const
Returns
Whether the window can be maximized.
See also
maximizeableChanged

Definition at line 1013 of file plasmawindowmanagement.cpp.

◆ isMaximized()

bool KWayland::Client::PlasmaWindow::isMaximized ( ) const
Returns
Whether the window is maximized.
See also
maximizedChanged

Definition at line 978 of file plasmawindowmanagement.cpp.

◆ isMinimizeable()

bool KWayland::Client::PlasmaWindow::isMinimizeable ( ) const
Returns
Whether the window can be minimized.
See also
minimizeableChanged

Definition at line 1018 of file plasmawindowmanagement.cpp.

◆ isMinimized()

bool KWayland::Client::PlasmaWindow::isMinimized ( ) const
Returns
Whether the window is currently minimized
See also
minimizedChanged

Definition at line 983 of file plasmawindowmanagement.cpp.

◆ isMovable()

bool KWayland::Client::PlasmaWindow::isMovable ( ) const
Returns
Whether the window can be moved.
See also
movableChanged
Since
5.22

Definition at line 1053 of file plasmawindowmanagement.cpp.

◆ isOnAllDesktops()

bool KWayland::Client::PlasmaWindow::isOnAllDesktops ( ) const
Returns
Whether the window is shown on all desktops.
See also
virtualDesktop
onAllDesktopsChanged

Definition at line 988 of file plasmawindowmanagement.cpp.

◆ isResizable()

bool KWayland::Client::PlasmaWindow::isResizable ( ) const
Returns
Whether the window can be resized.
See also
resizableChanged
Since
5.22

Definition at line 1048 of file plasmawindowmanagement.cpp.

◆ isShadeable()

bool KWayland::Client::PlasmaWindow::isShadeable ( ) const
Returns
Whether the window can be set to the shaded state.
See also
isShaded
shadeableChanged
Since
5.22

Definition at line 1038 of file plasmawindowmanagement.cpp.

◆ isShaded()

bool KWayland::Client::PlasmaWindow::isShaded ( ) const
Returns
Whether the window is shaded, that is reduced to the window decoration
See also
shadedChanged
Since
5.22

Definition at line 1043 of file plasmawindowmanagement.cpp.

◆ isValid()

bool KWayland::Client::PlasmaWindow::isValid ( ) const
Returns
true if managing a org_kde_plasma_window.

Definition at line 916 of file plasmawindowmanagement.cpp.

◆ isVirtualDesktopChangeable()

bool KWayland::Client::PlasmaWindow::isVirtualDesktopChangeable ( ) const
Returns
Whether the virtual desktop can be changed.
See also
virtualDesktopChangeableChanged
Since
5.22

Definition at line 1058 of file plasmawindowmanagement.cpp.

◆ keepAboveChanged

void KWayland::Client::PlasmaWindow::keepAboveChanged ( )
signal

The keep above state changed.

See also
isKeepAbove

◆ keepBelowChanged

void KWayland::Client::PlasmaWindow::keepBelowChanged ( )
signal

The keep below state changed.

See also
isKeepBelow

◆ maximizeableChanged

void KWayland::Client::PlasmaWindow::maximizeableChanged ( )
signal

The maximizeable state changed.

See also
isMaximizeable

◆ maximizedChanged

void KWayland::Client::PlasmaWindow::maximizedChanged ( )
signal

The maximized state changed.

See also
isMaximized

◆ minimizeableChanged

void KWayland::Client::PlasmaWindow::minimizeableChanged ( )
signal

The minimizeable state changed.

See also
isMinimizeable

◆ minimizedChanged

void KWayland::Client::PlasmaWindow::minimizedChanged ( )
signal

The minimized state changed.

See also
isMinimized

◆ movableChanged

void KWayland::Client::PlasmaWindow::movableChanged ( )
signal

The movable state changed.

See also
isMovable
Since
5.22

◆ onAllDesktopsChanged

void KWayland::Client::PlasmaWindow::onAllDesktopsChanged ( )
signal

The on all desktops state changed.

See also
isOnAllDesktops

◆ parentWindow()

QPointer< PlasmaWindow > KWayland::Client::PlasmaWindow::parentWindow ( ) const

The parent window of this PlasmaWindow.

If there is a parent window, this window is a transient window for the parent window. If this method returns a null PlasmaWindow it means this window is a top level window and is not a transient window.

See also
parentWindowChanged
Since
5.24

Definition at line 1167 of file plasmawindowmanagement.cpp.

◆ parentWindowChanged

void KWayland::Client::PlasmaWindow::parentWindowChanged ( )
signal

This signal is emitted whenever the parent window changes.

See also
parentWindow
Since
5.24

◆ pid()

quint32 KWayland::Client::PlasmaWindow::pid ( ) const
Returns
The process id this window belongs to. or 0 if unset
Since
5.35

Definition at line 936 of file plasmawindowmanagement.cpp.

◆ plasmaActivities()

QStringList KWayland::Client::PlasmaWindow::plasmaActivities ( ) const

Return all the activity ids this window is associated to.

When an activity gets deleted, it will be automatically removed from this list. If this list is empty, assume it's on all activities.

Since
5.81

Definition at line 1207 of file plasmawindowmanagement.cpp.

◆ plasmaActivityEntered

void KWayland::Client::PlasmaWindow::plasmaActivityEntered ( const QString id)
signal

This signal is emitted when the window has entered an activity.

The window can be on more than one activity, or none: then is considered on all of them.

Since
5.81

◆ plasmaActivityLeft

void KWayland::Client::PlasmaWindow::plasmaActivityLeft ( const QString id)
signal

This signal is emitted when the window left an activity.

If the window leaves all activities, it can be considered on all.

Since
5.81

◆ plasmaVirtualDesktopEntered

void KWayland::Client::PlasmaWindow::plasmaVirtualDesktopEntered ( const QString id)
signal

This signal is emitted when the window has entered a new virtual desktop.

The window can be on more than one desktop, or none: then is considered on all of them.

Since
5.46

◆ plasmaVirtualDesktopLeft

void KWayland::Client::PlasmaWindow::plasmaVirtualDesktopLeft ( const QString id)
signal

This signal is emitted when the window left a virtual desktop.

If the window leaves all desktops, it can be considered on all.

Since
5.46

◆ plasmaVirtualDesktops()

QStringList KWayland::Client::PlasmaWindow::plasmaVirtualDesktops ( ) const

Return all the virtual desktop ids this window is associated to.

When a desktop gets deleted, it will be automatically removed from this list. If this list is empty, assume it's on all desktops.

Since
5.52

Definition at line 1192 of file plasmawindowmanagement.cpp.

◆ release()

void KWayland::Client::PlasmaWindow::release ( )

Releases the org_kde_plasma_window interface.

After the interface has been released the PlasmaWindow instance is no longer valid and can be setup with another org_kde_plasma_window interface.

Definition at line 911 of file plasmawindowmanagement.cpp.

◆ requestActivate()

void KWayland::Client::PlasmaWindow::requestActivate ( )

Requests to activate the window.

Definition at line 1073 of file plasmawindowmanagement.cpp.

◆ requestClose()

void KWayland::Client::PlasmaWindow::requestClose ( )

Requests to close the window.

Definition at line 1078 of file plasmawindowmanagement.cpp.

◆ requestEnterActivity()

void KWayland::Client::PlasmaWindow::requestEnterActivity ( const QString id)

Ask the server to make the window enter an activity.

The server may or may not consent. A window can enter more than one activity.

Since
5.81

Definition at line 1197 of file plasmawindowmanagement.cpp.

◆ requestEnterNewVirtualDesktop()

void KWayland::Client::PlasmaWindow::requestEnterNewVirtualDesktop ( )

Make the window enter a new virtual desktop.

If the server consents the request, it will create a new virtual desktop and assign the window to it.

Since
5.52

Definition at line 1182 of file plasmawindowmanagement.cpp.

◆ requestEnterVirtualDesktop()

void KWayland::Client::PlasmaWindow::requestEnterVirtualDesktop ( const QString id)

Ask the server to make the window enter a virtual desktop.

The server may or may not consent. A window can enter more than one virtual desktop.

Since
5.52

Definition at line 1177 of file plasmawindowmanagement.cpp.

◆ requestLeaveActivity()

void KWayland::Client::PlasmaWindow::requestLeaveActivity ( const QString id)

Ask the server to make the window exit an activity.

The server may or may not consent. If it exits all activities it will be considered on all of them.

Since
5.81

Definition at line 1202 of file plasmawindowmanagement.cpp.

◆ requestLeaveVirtualDesktop()

void KWayland::Client::PlasmaWindow::requestLeaveVirtualDesktop ( const QString id)

Ask the server to make the window the window exit a virtual desktop.

The server may or may not consent. If it exits all desktops it will be considered on all of them.

Since
5.52

Definition at line 1187 of file plasmawindowmanagement.cpp.

◆ requestMove()

void KWayland::Client::PlasmaWindow::requestMove ( )

Requests to start an interactive window move operation.

Since
5.22

Definition at line 1083 of file plasmawindowmanagement.cpp.

◆ requestResize()

void KWayland::Client::PlasmaWindow::requestResize ( )

Requests to start an interactive resize operation.

Since
5.22

Definition at line 1088 of file plasmawindowmanagement.cpp.

◆ requestToggleKeepAbove()

void KWayland::Client::PlasmaWindow::requestToggleKeepAbove ( )

Requests the window at this model row index have its keep above state toggled.

Since
5.35

Definition at line 1100 of file plasmawindowmanagement.cpp.

◆ requestToggleKeepBelow()

void KWayland::Client::PlasmaWindow::requestToggleKeepBelow ( )

Requests the window at this model row index have its keep below state toggled.

Since
5.35

Definition at line 1109 of file plasmawindowmanagement.cpp.

◆ requestToggleMaximized()

void KWayland::Client::PlasmaWindow::requestToggleMaximized ( )

Requests the window at this model row index have its maximized state toggled.

Definition at line 1127 of file plasmawindowmanagement.cpp.

◆ requestToggleMinimized()

void KWayland::Client::PlasmaWindow::requestToggleMinimized ( )

Requests the window at this model row index have its minimized state toggled.

Definition at line 1118 of file plasmawindowmanagement.cpp.

◆ requestToggleShaded()

void KWayland::Client::PlasmaWindow::requestToggleShaded ( )

Requests the window at this model row index have its shaded state toggled.

Since
5.22

Definition at line 1146 of file plasmawindowmanagement.cpp.

◆ requestVirtualDesktop()

void KWayland::Client::PlasmaWindow::requestVirtualDesktop ( quint32  desktop)

Requests to send the window to virtual desktop.

Deprecated:
: Since 5.52, use requestEnterVirtualDesktop instead

Definition at line 1094 of file plasmawindowmanagement.cpp.

◆ resizableChanged

void KWayland::Client::PlasmaWindow::resizableChanged ( )
signal

The resizable state changed.

See also
isResizable
Since
5.22

◆ resourceName()

QString KWayland::Client::PlasmaWindow::resourceName ( ) const
Returns
The X11 resource name for this window. This is only set for X11 windows.
Since
5.94

Definition at line 941 of file plasmawindowmanagement.cpp.

◆ resourceNameChanged

void KWayland::Client::PlasmaWindow::resourceNameChanged ( )
signal

This signal is emitted whenever the resource name changes.

See also
resourceName
Since
5.94

◆ sendToOutput()

void KWayland::Client::PlasmaWindow::sendToOutput ( KWayland::Client::Output output) const

Sends the current window to output.

Since
5.86

Definition at line 1212 of file plasmawindowmanagement.cpp.

◆ setMinimizedGeometry()

void KWayland::Client::PlasmaWindow::setMinimizedGeometry ( Surface panel,
const QRect geom 
)

Sets the geometry of the taskbar entry for this window relative to a panel in particular.

Since
5.5

Definition at line 1136 of file plasmawindowmanagement.cpp.

◆ shadeableChanged

void KWayland::Client::PlasmaWindow::shadeableChanged ( )
signal

The shadeable state changed.

See also
isShadeable
Since
5.22

◆ shadedChanged

void KWayland::Client::PlasmaWindow::shadedChanged ( )
signal

The shaded state changed.

See also
isShaded
Since
5.22

◆ skipSwitcher()

bool KWayland::Client::PlasmaWindow::skipSwitcher ( ) const
Returns
Whether the window should be ignored by a switcher.
See also
skipSwitcherChanged

Definition at line 1028 of file plasmawindowmanagement.cpp.

◆ skipSwitcherChanged

void KWayland::Client::PlasmaWindow::skipSwitcherChanged ( )
signal

The skip switcher state changed.

See also
skipSwitcher

◆ skipTaskbar()

bool KWayland::Client::PlasmaWindow::skipTaskbar ( ) const
Returns
Whether the window should be ignored by a task bar.
See also
skipTaskbarChanged

Definition at line 1023 of file plasmawindowmanagement.cpp.

◆ skipTaskbarChanged

void KWayland::Client::PlasmaWindow::skipTaskbarChanged ( )
signal

The skip taskbar state changed.

See also
skipTaskbar

◆ title()

QString KWayland::Client::PlasmaWindow::title ( ) const
Returns
the window title.
See also
titleChanged

Definition at line 946 of file plasmawindowmanagement.cpp.

◆ titleChanged

void KWayland::Client::PlasmaWindow::titleChanged ( )
signal

The window title changed.

See also
title

◆ unmapped

void KWayland::Client::PlasmaWindow::unmapped ( )
signal

The window got unmapped and is no longer available to the Wayland server.

This instance will be automatically deleted and one should connect to this signal to perform cleanup.

◆ unsetMinimizedGeometry()

void KWayland::Client::PlasmaWindow::unsetMinimizedGeometry ( Surface panel)

Remove the task geometry information for a particular panel.

Since
5.5

Definition at line 1141 of file plasmawindowmanagement.cpp.

◆ uuid()

QByteArray KWayland::Client::PlasmaWindow::uuid ( ) const

A unique identifier for the window.

See also
QUuid
Since
5.73

Definition at line 1162 of file plasmawindowmanagement.cpp.

◆ virtualDesktop()

quint32 KWayland::Client::PlasmaWindow::virtualDesktop ( ) const
Returns
the id of the virtual desktop this PlasmaWindow is on
See also
virtualDesktopChanged
Deprecated:
: Since 5.52, use plasmaVirtualDesktops instead

Definition at line 952 of file plasmawindowmanagement.cpp.

◆ virtualDesktopChangeableChanged

void KWayland::Client::PlasmaWindow::virtualDesktopChangeableChanged ( )
signal

The virtual desktop changeable state changed.

See also
virtualDesktopChangeable
Since
5.22

◆ virtualDesktopChanged

void KWayland::Client::PlasmaWindow::virtualDesktopChanged ( )
signal

The virtual desktop changed.

Deprecated:
Since 5.52, use plasmaVirtualDesktopEntered and plasmaVirtualDesktopLeft instead

The documentation for this class was generated from the following files:
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void destroy()
Destroys the data held by this PlasmaWindow.
void connectionDied()
Emitted if the Wayland server connection dies.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:48:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.