KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WaylandBackend Class Reference

#include <pointerconstraintstest.h>

Inheritance diagram for WaylandBackend:
Backend

Public Member Functions

 WaylandBackend (QObject *parent=nullptr)
 
void init (QQuickView *view) override
 
void lockRequest (bool persistent, QRect region) override
 
void unlockRequest () override
 
void confineRequest (bool persistent, QRect region) override
 
void unconfineRequest () override
 
- Public Member Functions inherited from Backend
 Backend (QObject *parent=nullptr)
 
int mode () const
 
bool lockHint () const
 
bool errorsAllowed () const
 
void setErrorsAllowed (bool set)
 
virtual Q_INVOKABLE void hideAndConfineRequest (bool confineBeforeHide=false)
 
virtual Q_INVOKABLE void undoHideRequest ()
 

Additional Inherited Members

- Signals inherited from Backend
void confineChanged (bool confined)
 
void lockChanged (bool locked)
 
void lockHintChanged ()
 
void errorsAllowedChanged ()
 
void forceSurfaceCommit ()
 
- Protected Types inherited from Backend
enum class  Mode { Wayland = 0 , X = 1 }
 
- Protected Member Functions inherited from Backend
QQuickView * view () const
 
void setMode (Mode set)
 
- Properties inherited from Backend
int mode
 
bool lockHint
 
bool errorsAllowed
 

Detailed Description

Definition at line 122 of file pointerconstraintstest.h.

Constructor & Destructor Documentation

◆ WaylandBackend()

WaylandBackend::WaylandBackend ( QObject * parent = nullptr)

Definition at line 28 of file pointerconstraintstest.cpp.

Member Function Documentation

◆ confineRequest()

void WaylandBackend::confineRequest ( bool persistent,
QRect region )
overridevirtual

Reimplemented from Backend.

Definition at line 163 of file pointerconstraintstest.cpp.

◆ init()

void WaylandBackend::init ( QQuickView * view)
overridevirtual

Reimplemented from Backend.

Definition at line 35 of file pointerconstraintstest.cpp.

◆ lockRequest()

void WaylandBackend::lockRequest ( bool persistent,
QRect region )
overridevirtual

Reimplemented from Backend.

Definition at line 90 of file pointerconstraintstest.cpp.

◆ unconfineRequest()

void WaylandBackend::unconfineRequest ( )
overridevirtual

Reimplemented from Backend.

Definition at line 209 of file pointerconstraintstest.cpp.

◆ unlockRequest()

void WaylandBackend::unlockRequest ( )
overridevirtual

Reimplemented from Backend.

Definition at line 143 of file pointerconstraintstest.cpp.


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