Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWaylandXdgToplevelDecorationV1 Class Reference

#include <qwaylandxdgdecorationv1_p.h>

+ Inheritance diagram for QWaylandXdgToplevelDecorationV1:
+ Collaboration diagram for QWaylandXdgToplevelDecorationV1:

Public Types

using DecorationMode = QWaylandXdgToplevel::DecorationMode
 

Public Member Functions

 QWaylandXdgToplevelDecorationV1 (QWaylandXdgToplevel *toplevel, QWaylandXdgDecorationManagerV1 *manager, wl_client *client, int id)
 
 ~QWaylandXdgToplevelDecorationV1 () override
 
DecorationMode configuredMode () const
 
void sendConfigure (DecorationMode mode)
 

Protected Member Functions

void zxdg_toplevel_decoration_v1_destroy_resource (Resource *resource) override
 
void zxdg_toplevel_decoration_v1_destroy (Resource *resource) override
 
void zxdg_toplevel_decoration_v1_set_mode (Resource *resource, uint32_t mode) override
 
void zxdg_toplevel_decoration_v1_unset_mode (Resource *resource) override
 

Detailed Description

Definition at line 45 of file qwaylandxdgdecorationv1_p.h.

Member Typedef Documentation

◆ DecorationMode

Constructor & Destructor Documentation

◆ QWaylandXdgToplevelDecorationV1()

QWaylandXdgToplevelDecorationV1::QWaylandXdgToplevelDecorationV1 ( QWaylandXdgToplevel toplevel,
QWaylandXdgDecorationManagerV1 manager,
wl_client *  client,
int  id 
)
explicit

Definition at line 153 of file qwaylandxdgdecorationv1.cpp.

References QWaylandXdgToplevelPrivate::get(), manager, Q_ASSERT, and sendConfigure().

+ Here is the call graph for this function:

◆ ~QWaylandXdgToplevelDecorationV1()

QWaylandXdgToplevelDecorationV1::~QWaylandXdgToplevelDecorationV1 ( )
override

Definition at line 167 of file qwaylandxdgdecorationv1.cpp.

References QWaylandXdgToplevelPrivate::get(), and QWaylandXdgToplevelPrivate::m_decoration.

+ Here is the call graph for this function:

Member Function Documentation

◆ configuredMode()

DecorationMode QWaylandXdgToplevelDecorationV1::configuredMode ( ) const
inline

Definition at line 55 of file qwaylandxdgdecorationv1_p.h.

Referenced by sendConfigure().

+ Here is the caller graph for this function:

◆ sendConfigure()

void QWaylandXdgToplevelDecorationV1::sendConfigure ( QWaylandXdgToplevelDecorationV1::DecorationMode  mode)

Definition at line 172 of file qwaylandxdgdecorationv1.cpp.

References configuredMode(), QWaylandXdgToplevel::decorationModeChanged(), emit, and qWarning.

Referenced by QWaylandXdgToplevelDecorationV1().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ zxdg_toplevel_decoration_v1_destroy()

void QWaylandXdgToplevelDecorationV1::zxdg_toplevel_decoration_v1_destroy ( Resource *  resource)
overrideprotected

Definition at line 199 of file qwaylandxdgdecorationv1.cpp.

◆ zxdg_toplevel_decoration_v1_destroy_resource()

void QWaylandXdgToplevelDecorationV1::zxdg_toplevel_decoration_v1_destroy_resource ( Resource *  resource)
overrideprotected

Definition at line 193 of file qwaylandxdgdecorationv1.cpp.

References Q_UNUSED.

◆ zxdg_toplevel_decoration_v1_set_mode()

void QWaylandXdgToplevelDecorationV1::zxdg_toplevel_decoration_v1_set_mode ( Resource *  resource,
uint32_t  mode 
)
overrideprotected

Definition at line 204 of file qwaylandxdgdecorationv1.cpp.

References Q_UNUSED.

◆ zxdg_toplevel_decoration_v1_unset_mode()

void QWaylandXdgToplevelDecorationV1::zxdg_toplevel_decoration_v1_unset_mode ( Resource *  resource)
overrideprotected

Definition at line 211 of file qwaylandxdgdecorationv1.cpp.

References Q_UNUSED.


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