KWin
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::PlasmaWindowInterfacePrivate Class Reference
Inheritance diagram for KWin::PlasmaWindowInterfacePrivate:

Classes

class  PlasmaWindowResource
 

Public Member Functions

 PlasmaWindowInterfacePrivate (PlasmaWindowManagementInterface *wm, PlasmaWindowInterface *q)
 
 ~PlasmaWindowInterfacePrivate ()
 
void setTitle (const QString &title)
 
void setAppId (const QString &appId)
 
void setPid (quint32 pid)
 
void setThemedIconName (const QString &iconName)
 
void setIcon (const QIcon &icon)
 
void unmap ()
 
void setState (org_kde_plasma_window_management_state flag, bool set)
 
void setParentWindow (PlasmaWindowInterface *parent)
 
void setGeometry (const QRect &geometry)
 
void setApplicationMenuPaths (const QString &service, const QString &object)
 
void setResourceName (const QString &resourceName)
 
void sendInitialState (Resource *resource)
 
wl_resource * resourceForParent (PlasmaWindowInterface *parent, Resource *child) const
 

Public Attributes

quint32 windowId = 0
 
QHash< SurfaceInterface *, QRect > minimizedGeometries
 
PlasmaWindowManagementInterfacewm
 
bool unmapped = false
 
PlasmaWindowInterfaceparentWindow = nullptr
 
QMetaObject::Connection parentWindowDestroyConnection
 
QStringList plasmaVirtualDesktops
 
QStringList plasmaActivities
 
QRect geometry
 
PlasmaWindowInterfaceq
 
QString m_title
 
QString m_appId
 
quint32 m_pid = 0
 
QString m_themedIconName
 
QString m_appServiceName
 
QString m_appObjectPath
 
QIcon m_icon
 
quint32 m_state = 0
 
QString uuid
 
QString m_resourceName
 

Protected Member Functions

Resource * org_kde_plasma_window_allocate () override
 
void org_kde_plasma_window_set_state (Resource *resource, uint32_t flags, uint32_t state) override
 
void org_kde_plasma_window_set_virtual_desktop (Resource *resource, uint32_t number) override
 
void org_kde_plasma_window_set_minimized_geometry (Resource *resource, wl_resource *panel, uint32_t x, uint32_t y, uint32_t width, uint32_t height) override
 
void org_kde_plasma_window_unset_minimized_geometry (Resource *resource, wl_resource *panel) override
 
void org_kde_plasma_window_close (Resource *resource) override
 
void org_kde_plasma_window_request_move (Resource *resource) override
 
void org_kde_plasma_window_request_resize (Resource *resource) override
 
void org_kde_plasma_window_destroy (Resource *resource) override
 
void org_kde_plasma_window_get_icon (Resource *resource, int32_t fd) override
 
void org_kde_plasma_window_request_enter_virtual_desktop (Resource *resource, const QString &id) override
 
void org_kde_plasma_window_request_enter_new_virtual_desktop (Resource *resource) override
 
void org_kde_plasma_window_request_leave_virtual_desktop (Resource *resource, const QString &id) override
 
void org_kde_plasma_window_request_enter_activity (Resource *resource, const QString &id) override
 
void org_kde_plasma_window_request_leave_activity (Resource *resource, const QString &id) override
 
void org_kde_plasma_window_send_to_output (Resource *resource, struct wl_resource *output) override
 

Detailed Description

Definition at line 56 of file plasmawindowmanagement.cpp.

Constructor & Destructor Documentation

◆ PlasmaWindowInterfacePrivate()

KWin::PlasmaWindowInterfacePrivate::PlasmaWindowInterfacePrivate ( PlasmaWindowManagementInterface * wm,
PlasmaWindowInterface * q )

Definition at line 336 of file plasmawindowmanagement.cpp.

◆ ~PlasmaWindowInterfacePrivate()

KWin::PlasmaWindowInterfacePrivate::~PlasmaWindowInterfacePrivate ( )

Definition at line 343 of file plasmawindowmanagement.cpp.

Member Function Documentation

◆ org_kde_plasma_window_allocate()

QtWaylandServer::org_kde_plasma_window::Resource * KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_allocate ( )
overrideprotected

Definition at line 348 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_close()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_close ( Resource * resource)
overrideprotected

Definition at line 634 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_destroy()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_destroy ( Resource * resource)
overrideprotected

Definition at line 353 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_get_icon()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_get_icon ( Resource * resource,
int32_t fd )
overrideprotected

Definition at line 473 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_enter_activity()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_enter_activity ( Resource * resource,
const QString & id )
overrideprotected

Definition at line 499 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_enter_new_virtual_desktop()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_enter_new_virtual_desktop ( Resource * resource)
overrideprotected

Definition at line 489 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_enter_virtual_desktop()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_enter_virtual_desktop ( Resource * resource,
const QString & id )
overrideprotected

Definition at line 484 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_leave_activity()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_leave_activity ( Resource * resource,
const QString & id )
overrideprotected

Definition at line 504 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_leave_virtual_desktop()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_leave_virtual_desktop ( Resource * resource,
const QString & id )
overrideprotected

Definition at line 494 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_move()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_move ( Resource * resource)
overrideprotected

Definition at line 639 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_request_resize()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_request_resize ( Resource * resource)
overrideprotected

Definition at line 644 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_send_to_output()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_send_to_output ( Resource * resource,
struct wl_resource * output )
overrideprotected

Definition at line 509 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_set_minimized_geometry()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_set_minimized_geometry ( Resource * resource,
wl_resource * panel,
uint32_t x,
uint32_t y,
uint32_t width,
uint32_t height )
overrideprotected

Definition at line 712 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_set_state()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_set_state ( Resource * resource,
uint32_t flags,
uint32_t state )
overrideprotected

Definition at line 654 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_set_virtual_desktop()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_set_virtual_desktop ( Resource * resource,
uint32_t number )
overrideprotected

Definition at line 649 of file plasmawindowmanagement.cpp.

◆ org_kde_plasma_window_unset_minimized_geometry()

void KWin::PlasmaWindowInterfacePrivate::org_kde_plasma_window_unset_minimized_geometry ( Resource * resource,
wl_resource * panel )
overrideprotected

Definition at line 738 of file plasmawindowmanagement.cpp.

◆ resourceForParent()

wl_resource * KWin::PlasmaWindowInterfacePrivate::resourceForParent ( PlasmaWindowInterface * parent,
Resource * child ) const

Definition at line 559 of file plasmawindowmanagement.cpp.

◆ sendInitialState()

void KWin::PlasmaWindowInterfacePrivate::sendInitialState ( Resource * resource)

Definition at line 358 of file plasmawindowmanagement.cpp.

◆ setAppId()

void KWin::PlasmaWindowInterfacePrivate::setAppId ( const QString & appId)

Definition at line 405 of file plasmawindowmanagement.cpp.

◆ setApplicationMenuPaths()

void KWin::PlasmaWindowInterfacePrivate::setApplicationMenuPaths ( const QString & service,
const QString & object )

Definition at line 618 of file plasmawindowmanagement.cpp.

◆ setGeometry()

void KWin::PlasmaWindowInterfacePrivate::setGeometry ( const QRect & geometry)

Definition at line 599 of file plasmawindowmanagement.cpp.

◆ setIcon()

void KWin::PlasmaWindowInterfacePrivate::setIcon ( const QIcon & icon)

Definition at line 445 of file plasmawindowmanagement.cpp.

◆ setParentWindow()

void KWin::PlasmaWindowInterfacePrivate::setParentWindow ( PlasmaWindowInterface * parent)

Definition at line 575 of file plasmawindowmanagement.cpp.

◆ setPid()

void KWin::PlasmaWindowInterfacePrivate::setPid ( quint32 pid)

Definition at line 419 of file plasmawindowmanagement.cpp.

◆ setResourceName()

void KWin::PlasmaWindowInterfacePrivate::setResourceName ( const QString & resourceName)

Definition at line 458 of file plasmawindowmanagement.cpp.

◆ setState()

void KWin::PlasmaWindowInterfacePrivate::setState ( org_kde_plasma_window_management_state flag,
bool set )

Definition at line 540 of file plasmawindowmanagement.cpp.

◆ setThemedIconName()

void KWin::PlasmaWindowInterfacePrivate::setThemedIconName ( const QString & iconName)

Definition at line 432 of file plasmawindowmanagement.cpp.

◆ setTitle()

void KWin::PlasmaWindowInterfacePrivate::setTitle ( const QString & title)

Definition at line 514 of file plasmawindowmanagement.cpp.

◆ unmap()

void KWin::PlasmaWindowInterfacePrivate::unmap ( )

Definition at line 527 of file plasmawindowmanagement.cpp.

Member Data Documentation

◆ geometry

QRect KWin::PlasmaWindowInterfacePrivate::geometry

Definition at line 91 of file plasmawindowmanagement.cpp.

◆ m_appId

QString KWin::PlasmaWindowInterfacePrivate::m_appId

Definition at line 94 of file plasmawindowmanagement.cpp.

◆ m_appObjectPath

QString KWin::PlasmaWindowInterfacePrivate::m_appObjectPath

Definition at line 98 of file plasmawindowmanagement.cpp.

◆ m_appServiceName

QString KWin::PlasmaWindowInterfacePrivate::m_appServiceName

Definition at line 97 of file plasmawindowmanagement.cpp.

◆ m_icon

QIcon KWin::PlasmaWindowInterfacePrivate::m_icon

Definition at line 99 of file plasmawindowmanagement.cpp.

◆ m_pid

quint32 KWin::PlasmaWindowInterfacePrivate::m_pid = 0

Definition at line 95 of file plasmawindowmanagement.cpp.

◆ m_resourceName

QString KWin::PlasmaWindowInterfacePrivate::m_resourceName

Definition at line 102 of file plasmawindowmanagement.cpp.

◆ m_state

quint32 KWin::PlasmaWindowInterfacePrivate::m_state = 0

Definition at line 100 of file plasmawindowmanagement.cpp.

◆ m_themedIconName

QString KWin::PlasmaWindowInterfacePrivate::m_themedIconName

Definition at line 96 of file plasmawindowmanagement.cpp.

◆ m_title

QString KWin::PlasmaWindowInterfacePrivate::m_title

Definition at line 93 of file plasmawindowmanagement.cpp.

◆ minimizedGeometries

QHash<SurfaceInterface *, QRect> KWin::PlasmaWindowInterfacePrivate::minimizedGeometries

Definition at line 83 of file plasmawindowmanagement.cpp.

◆ parentWindow

PlasmaWindowInterface* KWin::PlasmaWindowInterfacePrivate::parentWindow = nullptr

Definition at line 87 of file plasmawindowmanagement.cpp.

◆ parentWindowDestroyConnection

QMetaObject::Connection KWin::PlasmaWindowInterfacePrivate::parentWindowDestroyConnection

Definition at line 88 of file plasmawindowmanagement.cpp.

◆ plasmaActivities

QStringList KWin::PlasmaWindowInterfacePrivate::plasmaActivities

Definition at line 90 of file plasmawindowmanagement.cpp.

◆ plasmaVirtualDesktops

QStringList KWin::PlasmaWindowInterfacePrivate::plasmaVirtualDesktops

Definition at line 89 of file plasmawindowmanagement.cpp.

◆ q

PlasmaWindowInterface* KWin::PlasmaWindowInterfacePrivate::q

Definition at line 92 of file plasmawindowmanagement.cpp.

◆ unmapped

bool KWin::PlasmaWindowInterfacePrivate::unmapped = false

Definition at line 86 of file plasmawindowmanagement.cpp.

◆ uuid

QString KWin::PlasmaWindowInterfacePrivate::uuid

Definition at line 101 of file plasmawindowmanagement.cpp.

◆ windowId

quint32 KWin::PlasmaWindowInterfacePrivate::windowId = 0

Definition at line 82 of file plasmawindowmanagement.cpp.

◆ wm

PlasmaWindowManagementInterface* KWin::PlasmaWindowInterfacePrivate::wm

Definition at line 84 of file plasmawindowmanagement.cpp.


The documentation for this class was generated from the following file: