KWayland::Server::PlasmaWindowInterface
#include <plasmawindowmanagement_interface.h>

Signals | |
void | activeRequested (bool set) |
void | closeableRequested (bool set) |
void | closeRequested () |
void | demandsAttentionRequested (bool set) |
void | enterNewPlasmaVirtualDesktopRequested () |
void | enterPlasmaVirtualDesktopRequested (const QString &desktop) |
void | fullscreenableRequested (bool set) |
void | fullscreenRequested (bool set) |
void | keepAboveRequested (bool set) |
void | keepBelowRequested (bool set) |
void | leavePlasmaVirtualDesktopRequested (const QString &desktop) |
void | maximizeableRequested (bool set) |
void | maximizedRequested (bool set) |
void | minimizeableRequested (bool set) |
QRect | minimizedGeometriesChanged () |
void | minimizedRequested (bool set) |
void | movableRequested (bool set) |
void | moveRequested () |
void | resizableRequested (bool set) |
void | resizeRequested () |
void | shadeableRequested (bool set) |
void | shadedRequested (bool set) |
void | skipSwitcherRequested (bool set) |
void | skipTaskbarRequested (bool set) |
void | virtualDesktopChangeableRequested (bool set) |
void | virtualDesktopRequested (quint32 desktop) |
Public Member Functions | |
void | addPlasmaVirtualDesktop (const QString &id) |
quint32 | internalId () const |
QHash< SurfaceInterface *, QRect > | minimizedGeometries () const |
QStringList | plasmaVirtualDesktops () const |
void | removePlasmaVirtualDesktop (const QString &id) |
void | setActive (bool set) |
void | setAppId (const QString &appId) |
void | setApplicationMenuPaths (const QString &serviceName, const QString &objectPath) |
void | setCloseable (bool set) |
void | setDemandsAttention (bool set) |
void | setFullscreen (bool set) |
void | setFullscreenable (bool set) |
void | setGeometry (const QRect &geometry) |
void | setIcon (const QIcon &icon) |
void | setKeepAbove (bool set) |
void | setKeepBelow (bool set) |
void | setMaximizeable (bool set) |
void | setMaximized (bool set) |
void | setMinimizeable (bool set) |
void | setMinimized (bool set) |
void | setMovable (bool set) |
void | setOnAllDesktops (bool set) |
void | setParentWindow (PlasmaWindowInterface *parentWindow) |
void | setPid (quint32 pid) |
void | setResizable (bool set) |
void | setShadeable (bool set) |
void | setShaded (bool set) |
void | setSkipSwitcher (bool skip) |
void | setSkipTaskbar (bool skip) |
void | setThemedIconName (const QString &iconName) |
void | setTitle (const QString &title) |
void | setVirtualDesktop (quint32 desktop) |
void | setVirtualDesktopChangeable (bool set) |
void | unmap () |
![]() | |
QObject (QObject *parent) | |
bool | blockSignals (bool block) |
const QObjectList & | children () 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< QByteArray > | dynamicPropertyNames () const const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
QList< T > | findChildren (const QRegExp ®Exp, 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 QMetaObject * | metaObject () const const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const const |
void | objectNameChanged (const QString &objectName) |
QObject * | parent () 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 | |
T | qFindChild (const QObject *obj, const QString &name) |
QList< T > | qFindChildren (const QObject *obj, const QRegExp ®Exp) |
QList< T > | qFindChildren (const QObject *obj, const QString &name) |
T | qobject_cast (const QObject *object) |
T | 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) |
QThread * | thread () const const |
Additional Inherited Members | |
![]() | |
objectName | |
![]() | |
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) |
![]() | |
typedef | QObjectList |
![]() | |
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 |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
- Todo:
- Add documentation
Definition at line 94 of file plasmawindowmanagement_interface.h.
Member Function Documentation
◆ addPlasmaVirtualDesktop()
void KWayland::Server::PlasmaWindowInterface::addPlasmaVirtualDesktop | ( | const QString & | id | ) |
Adds a new desktop to this window: a window can be on an arbitrary subset of virtual desktops.
If it's on none it will be considered on all desktops.
- Since
- 5.48
Definition at line 923 of file plasmawindowmanagement_interface.cpp.
◆ enterNewPlasmaVirtualDesktopRequested
|
signal |
Emitted when the client wishes this window to enter in a new virtual desktop to be created for it.
The server will decide whether to consent this request
- Since
- 5.52
◆ enterPlasmaVirtualDesktopRequested
|
signal |
Emitted when the client wishes this window to enter in a new virtual desktop.
The server will decide whether to consent this request
- Since
- 5.52
◆ internalId()
quint32 KWayland::Server::PlasmaWindowInterface::internalId | ( | ) | const |
Return the window internal id.
- Since
- 5.70
Definition at line 1010 of file plasmawindowmanagement_interface.cpp.
◆ leavePlasmaVirtualDesktopRequested
|
signal |
Emitted when the client wishes to remove this window from a virtual desktop.
The server will decide whether to consent this request
- Since
- 5.52
◆ minimizedGeometries()
QHash< SurfaceInterface *, QRect > KWayland::Server::PlasmaWindowInterface::minimizedGeometries | ( | ) | const |
- Returns
- Geometries of the taskbar entries, indicized by the surface of the panels
- Since
- 5.5
Definition at line 806 of file plasmawindowmanagement_interface.cpp.
◆ movableRequested
|
signal |
- Since
- 5.22
◆ moveRequested
|
signal |
- Since
- 5.22
◆ plasmaVirtualDesktops()
QStringList KWayland::Server::PlasmaWindowInterface::plasmaVirtualDesktops | ( | ) | const |
The ids of all the desktops currently associated with this window.
When a desktop is deleted it will be automatically removed from this list
- Since
- 5.48
Definition at line 965 of file plasmawindowmanagement_interface.cpp.
◆ removePlasmaVirtualDesktop()
void KWayland::Server::PlasmaWindowInterface::removePlasmaVirtualDesktop | ( | const QString & | id | ) |
Removes a visrtual desktop from a window.
- Since
- 5.48
Definition at line 948 of file plasmawindowmanagement_interface.cpp.
◆ resizableRequested
|
signal |
- Since
- 5.22
◆ resizeRequested
|
signal |
- Since
- 5.22
◆ setApplicationMenuPaths()
void KWayland::Server::PlasmaWindowInterface::setApplicationMenuPaths | ( | const QString & | serviceName, |
const QString & | objectPath | ||
) |
Set the application menu D-BUS service name and object path for the window.
- Since
- 5.69
Definition at line 1005 of file plasmawindowmanagement_interface.cpp.
◆ setGeometry()
void KWayland::Server::PlasmaWindowInterface::setGeometry | ( | const QRect & | geometry | ) |
Sets the window geometry
of this PlasmaWindow.
- Parameters
-
geometry The geometry in absolute coordinates
- Since
- 5.25
Definition at line 1000 of file plasmawindowmanagement_interface.cpp.
◆ setIcon()
void KWayland::Server::PlasmaWindowInterface::setIcon | ( | const QIcon & | icon | ) |
Set the icon of the PlasmaWindowInterface.
In case the icon has a themed name, only the name is sent to the client. Otherwise the client is only informed that there is an icon and the client can request the icon in an asynchronous way by passing a file descriptor into which the icon will be serialized.
- Parameters
-
icon The new icon
- Since
- 5.28
Definition at line 918 of file plasmawindowmanagement_interface.cpp.
◆ setMovable()
void KWayland::Server::PlasmaWindowInterface::setMovable | ( | bool | set | ) |
- Since
- 5.22
Definition at line 980 of file plasmawindowmanagement_interface.cpp.
◆ setParentWindow()
void KWayland::Server::PlasmaWindowInterface::setParentWindow | ( | PlasmaWindowInterface * | parentWindow | ) |
Sets this PlasmaWindowInterface as a transient window to parentWindow
.
If parentWindow
is nullptr
, the PlasmaWindowInterface is a toplevel window and does not have a parent window.
- Since
- 5.24
Definition at line 995 of file plasmawindowmanagement_interface.cpp.
◆ setResizable()
void KWayland::Server::PlasmaWindowInterface::setResizable | ( | bool | set | ) |
- Since
- 5.22
Definition at line 985 of file plasmawindowmanagement_interface.cpp.
◆ setShadeable()
void KWayland::Server::PlasmaWindowInterface::setShadeable | ( | bool | set | ) |
- Since
- 5.22
Definition at line 970 of file plasmawindowmanagement_interface.cpp.
◆ setShaded()
void KWayland::Server::PlasmaWindowInterface::setShaded | ( | bool | set | ) |
- Since
- 5.22
Definition at line 975 of file plasmawindowmanagement_interface.cpp.
◆ setThemedIconName()
void KWayland::Server::PlasmaWindowInterface::setThemedIconName | ( | const QString & | iconName | ) |
- Deprecated:
- since 5.28 use setIcon
Definition at line 913 of file plasmawindowmanagement_interface.cpp.
◆ setVirtualDesktop()
void KWayland::Server::PlasmaWindowInterface::setVirtualDesktop | ( | quint32 | desktop | ) |
- Deprecated:
- Since 5.52, use addPlasmaVirtualDesktop and removePlasmaVirtualDesktop
Definition at line 796 of file plasmawindowmanagement_interface.cpp.
◆ setVirtualDesktopChangeable()
void KWayland::Server::PlasmaWindowInterface::setVirtualDesktopChangeable | ( | bool | set | ) |
FIXME: still relevant with new desktops?
- Since
- 5.22
Definition at line 990 of file plasmawindowmanagement_interface.cpp.
◆ shadeableRequested
|
signal |
- Since
- 5.22
◆ shadedRequested
|
signal |
- Since
- 5.22
◆ unmap()
void KWayland::Server::PlasmaWindowInterface::unmap | ( | ) |
This method removes the Window and the Client is supposed to release the resource bound for this Window.
Once all resources are released the Window gets deleted.
Prefer using PlasmaWindowManagementInterface::unmapWindow.
Definition at line 801 of file plasmawindowmanagement_interface.cpp.
◆ virtualDesktopChangeableRequested
|
signal |
FIXME: still relevant with new virtual desktops?
- Since
- 5.22
◆ virtualDesktopRequested
|
signal |
- Deprecated:
- Since 5.52, use enterPlasmaVirtualDesktopRequested and leavePlasmaVirtualDesktopRequested instead
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 6 2023 03:55:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.