Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWaylandSurfaceViewMapper Struct Reference

#include <qwaylandoutput_p.h>

+ Collaboration diagram for QWaylandSurfaceViewMapper:

Public Member Functions

 QWaylandSurfaceViewMapper ()
 
 QWaylandSurfaceViewMapper (QWaylandSurface *s, QWaylandView *v)
 
QWaylandViewmaybePrimaryView () const
 

Public Attributes

QWaylandSurfacesurface = nullptr
 
QList< QWaylandView * > views
 
bool has_entered = false
 

Detailed Description

Definition at line 36 of file qwaylandoutput_p.h.

Constructor & Destructor Documentation

◆ QWaylandSurfaceViewMapper() [1/2]

QWaylandSurfaceViewMapper::QWaylandSurfaceViewMapper ( )
inline

Definition at line 38 of file qwaylandoutput_p.h.

◆ QWaylandSurfaceViewMapper() [2/2]

QWaylandSurfaceViewMapper::QWaylandSurfaceViewMapper ( QWaylandSurface * s,
QWaylandView * v )
inline

Definition at line 41 of file qwaylandoutput_p.h.

Member Function Documentation

◆ maybePrimaryView()

QWaylandView * QWaylandSurfaceViewMapper::maybePrimaryView ( ) const
inline

Definition at line 46 of file qwaylandoutput_p.h.

References QList< T >::at(), i, QWaylandSurface::primaryView(), QList< T >::size(), surface, and views.

+ Here is the call graph for this function:

Member Data Documentation

◆ has_entered

bool QWaylandSurfaceViewMapper::has_entered = false

Definition at line 57 of file qwaylandoutput_p.h.

Referenced by QWaylandOutputPrivate::removeView().

◆ surface

◆ views

QList<QWaylandView *> QWaylandSurfaceViewMapper::views

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