Search for usage in LXR

KWayland::Client::TouchPoint Class Reference

#include <touch.h>

Public Member Functions

quint32 downSerial () const
qint32 id () const
bool isDown () const
QPointF position () const
QVector< QPointFpositions () const
QPointer< Surfacesurface () const
quint32 time () const
QVector< quint32 > timestamps () const
quint32 upSerial () const

Detailed Description


Definition at line 26 of file touch.h.

Member Function Documentation

◆ downSerial()

quint32 KWayland::Client::TouchPoint::downSerial ( ) const

The serial when the down event happened.

Definition at line 76 of file touch.cpp.

◆ id()

qint32 KWayland::Client::TouchPoint::id ( ) const

Unique in the scope of all TouchPoints currently being down.

As soon as the TouchPoint is now longer down another TouchPoint might get assigned the id.

Definition at line 109 of file touch.cpp.

◆ isDown()

bool KWayland::Client::TouchPoint::isDown ( ) const

true if currently down, false otherwise.

Definition at line 104 of file touch.cpp.

◆ position()

QPointF KWayland::Client::TouchPoint::position ( ) const

Most recent position.

Definition at line 63 of file touch.cpp.

◆ positions()

QVector< QPointF > KWayland::Client::TouchPoint::positions ( ) const

All positions this TouchPoint had, updated with each move.

Definition at line 71 of file touch.cpp.

◆ surface()

QPointer< Surface > KWayland::Client::TouchPoint::surface ( ) const

The Surface this TouchPoint happened on.

Definition at line 86 of file touch.cpp.

◆ time()

quint32 KWayland::Client::TouchPoint::time ( ) const

Most recent timestamp.

Definition at line 91 of file touch.cpp.

◆ timestamps()

QVector< quint32 > KWayland::Client::TouchPoint::timestamps ( ) const

All timestamps, references the positions.

That is each position has a timestamp.

Definition at line 99 of file touch.cpp.

◆ upSerial()

quint32 KWayland::Client::TouchPoint::upSerial ( ) const

The serial when the up event happened.

Definition at line 81 of file touch.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jan 31 2023 03:53:29 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.