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

#include <touch.h>

Inheritance diagram for KWin::TouchInterface:

Public Member Functions

 ~TouchInterface () override
 
SurfaceInterfacefocusedSurface () const
 
void sendDown (qint32 id, quint32 serial, const QPointF &localPos, SurfaceInterface *surface)
 
void sendUp (qint32 id, quint32 serial)
 
void sendFrame ()
 
void sendCancel ()
 
void sendMotion (qint32 id, const QPointF &localPos)
 

Friends

class SeatInterfacePrivate
 
class TouchInterfacePrivate
 

Detailed Description

The TouchInterface class repserents a touchscreen associated with a wl_seat. It corresponds to the Wayland interface wl_touch.

Definition at line 25 of file touch.h.

Constructor & Destructor Documentation

◆ ~TouchInterface()

KWin::TouchInterface::~TouchInterface ( )
override

Definition at line 48 of file touch.cpp.

Member Function Documentation

◆ focusedSurface()

SurfaceInterface * KWin::TouchInterface::focusedSurface ( ) const

Definition at line 52 of file touch.cpp.

◆ sendCancel()

void KWin::TouchInterface::sendCancel ( )

Definition at line 57 of file touch.cpp.

◆ sendDown()

void KWin::TouchInterface::sendDown ( qint32 id,
quint32 serial,
const QPointF & localPos,
SurfaceInterface * surface )

Definition at line 107 of file touch.cpp.

◆ sendFrame()

void KWin::TouchInterface::sendFrame ( )

Definition at line 69 of file touch.cpp.

◆ sendMotion()

void KWin::TouchInterface::sendMotion ( qint32 id,
const QPointF & localPos )

Definition at line 81 of file touch.cpp.

◆ sendUp()

void KWin::TouchInterface::sendUp ( qint32 id,
quint32 serial )

Definition at line 95 of file touch.cpp.

Friends And Related Symbol Documentation

◆ SeatInterfacePrivate

friend class SeatInterfacePrivate
friend

Definition at line 44 of file touch.h.

◆ TouchInterfacePrivate

friend class TouchInterfacePrivate
friend

Definition at line 45 of file touch.h.


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