KWin
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KWin::XdgToplevelInterfacePrivate Class Reference

#include <xdgshell_p.h>

Inheritance diagram for KWin::XdgToplevelInterfacePrivate:
KWin::SurfaceExtension< XdgToplevelCommit >

Public Member Functions

 XdgToplevelInterfacePrivate (XdgToplevelInterface *toplevel, XdgSurfaceInterface *surface)
 
void apply (XdgToplevelCommit *commit) override
 
void reset ()
 
- Public Member Functions inherited from KWin::SurfaceExtension< XdgToplevelCommit >
 SurfaceExtension (SurfaceInterface *surface)
 

Static Public Member Functions

static XdgToplevelInterfacePrivateget (XdgToplevelInterface *toplevel)
 
static XdgToplevelInterfacePrivateget (::wl_resource *resource)
 

Public Attributes

XdgToplevelInterfaceq
 
QPointer< XdgToplevelInterfaceparentXdgToplevel
 
QPointer< XdgToplevelDecorationV1Interfacedecoration
 
XdgSurfaceInterfacexdgSurface
 
QString windowTitle
 
QString windowClass
 
QSize minimumSize
 
QSize maximumSize
 
- Public Attributes inherited from KWin::SurfaceExtension< XdgToplevelCommit >
XdgToplevelCommit pending
 
QMap< quint32, XdgToplevelCommitstashed
 

Protected Member Functions

void xdg_toplevel_destroy_resource (Resource *resource) override
 
void xdg_toplevel_destroy (Resource *resource) override
 
void xdg_toplevel_set_parent (Resource *resource, ::wl_resource *parent) override
 
void xdg_toplevel_set_title (Resource *resource, const QString &title) override
 
void xdg_toplevel_set_app_id (Resource *resource, const QString &app_id) override
 
void xdg_toplevel_show_window_menu (Resource *resource, ::wl_resource *seat, uint32_t serial, int32_t x, int32_t y) override
 
void xdg_toplevel_move (Resource *resource, ::wl_resource *seat, uint32_t serial) override
 
void xdg_toplevel_resize (Resource *resource, ::wl_resource *seat, uint32_t serial, uint32_t edges) override
 
void xdg_toplevel_set_max_size (Resource *resource, int32_t width, int32_t height) override
 
void xdg_toplevel_set_min_size (Resource *resource, int32_t width, int32_t height) override
 
void xdg_toplevel_set_maximized (Resource *resource) override
 
void xdg_toplevel_unset_maximized (Resource *resource) override
 
void xdg_toplevel_set_fullscreen (Resource *resource, ::wl_resource *output) override
 
void xdg_toplevel_unset_fullscreen (Resource *resource) override
 
void xdg_toplevel_set_minimized (Resource *resource) override
 

Detailed Description

Definition at line 134 of file xdgshell_p.h.

Constructor & Destructor Documentation

◆ XdgToplevelInterfacePrivate()

KWin::XdgToplevelInterfacePrivate::XdgToplevelInterfacePrivate ( XdgToplevelInterface * toplevel,
XdgSurfaceInterface * surface )

Definition at line 332 of file xdgshell.cpp.

Member Function Documentation

◆ apply()

void KWin::XdgToplevelInterfacePrivate::apply ( XdgToplevelCommit * commit)
overridevirtual

Implements KWin::SurfaceExtension< XdgToplevelCommit >.

Definition at line 339 of file xdgshell.cpp.

◆ get() [1/2]

static XdgToplevelInterfacePrivate * KWin::XdgToplevelInterfacePrivate::get ( ::wl_resource * resource)
static

◆ get() [2/2]

XdgToplevelInterfacePrivate * KWin::XdgToplevelInterfacePrivate::get ( XdgToplevelInterface * toplevel)
static

Definition at line 507 of file xdgshell.cpp.

◆ reset()

void KWin::XdgToplevelInterfacePrivate::reset ( )

Definition at line 371 of file xdgshell.cpp.

◆ xdg_toplevel_destroy()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_destroy ( Resource * resource)
overrideprotected

Definition at line 391 of file xdgshell.cpp.

◆ xdg_toplevel_destroy_resource()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 386 of file xdgshell.cpp.

◆ xdg_toplevel_move()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_move ( Resource * resource,
::wl_resource * seat,
uint32_t serial )
overrideprotected

Definition at line 437 of file xdgshell.cpp.

◆ xdg_toplevel_resize()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_resize ( Resource * resource,
::wl_resource * seat,
uint32_t serial,
uint32_t edges )
overrideprotected

Definition at line 450 of file xdgshell.cpp.

◆ xdg_toplevel_set_app_id()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_app_id ( Resource * resource,
const QString & app_id )
overrideprotected

Definition at line 415 of file xdgshell.cpp.

◆ xdg_toplevel_set_fullscreen()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_fullscreen ( Resource * resource,
::wl_resource * output )
overrideprotected

Definition at line 491 of file xdgshell.cpp.

◆ xdg_toplevel_set_max_size()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_max_size ( Resource * resource,
int32_t width,
int32_t height )
overrideprotected

Definition at line 463 of file xdgshell.cpp.

◆ xdg_toplevel_set_maximized()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_maximized ( Resource * resource)
overrideprotected

Definition at line 481 of file xdgshell.cpp.

◆ xdg_toplevel_set_min_size()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_min_size ( Resource * resource,
int32_t width,
int32_t height )
overrideprotected

Definition at line 472 of file xdgshell.cpp.

◆ xdg_toplevel_set_minimized()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_minimized ( Resource * resource)
overrideprotected

Definition at line 502 of file xdgshell.cpp.

◆ xdg_toplevel_set_parent()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_parent ( Resource * resource,
::wl_resource * parent )
overrideprotected

Definition at line 396 of file xdgshell.cpp.

◆ xdg_toplevel_set_title()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_set_title ( Resource * resource,
const QString & title )
overrideprotected

Definition at line 406 of file xdgshell.cpp.

◆ xdg_toplevel_show_window_menu()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_show_window_menu ( Resource * resource,
::wl_resource * seat,
uint32_t serial,
int32_t x,
int32_t y )
overrideprotected

Definition at line 424 of file xdgshell.cpp.

◆ xdg_toplevel_unset_fullscreen()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_unset_fullscreen ( Resource * resource)
overrideprotected

Definition at line 497 of file xdgshell.cpp.

◆ xdg_toplevel_unset_maximized()

void KWin::XdgToplevelInterfacePrivate::xdg_toplevel_unset_maximized ( Resource * resource)
overrideprotected

Definition at line 486 of file xdgshell.cpp.

Member Data Documentation

◆ decoration

QPointer<XdgToplevelDecorationV1Interface> KWin::XdgToplevelInterfacePrivate::decoration

Definition at line 147 of file xdgshell_p.h.

◆ maximumSize

QSize KWin::XdgToplevelInterfacePrivate::maximumSize

Definition at line 152 of file xdgshell_p.h.

◆ minimumSize

QSize KWin::XdgToplevelInterfacePrivate::minimumSize

Definition at line 151 of file xdgshell_p.h.

◆ parentXdgToplevel

QPointer<XdgToplevelInterface> KWin::XdgToplevelInterfacePrivate::parentXdgToplevel

Definition at line 146 of file xdgshell_p.h.

◆ q

XdgToplevelInterface* KWin::XdgToplevelInterfacePrivate::q

Definition at line 145 of file xdgshell_p.h.

◆ windowClass

QString KWin::XdgToplevelInterfacePrivate::windowClass

Definition at line 150 of file xdgshell_p.h.

◆ windowTitle

QString KWin::XdgToplevelInterfacePrivate::windowTitle

Definition at line 149 of file xdgshell_p.h.

◆ xdgSurface

XdgSurfaceInterface* KWin::XdgToplevelInterfacePrivate::xdgSurface

Definition at line 148 of file xdgshell_p.h.


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