KWayland::Client::TouchPoint

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

TODO.

Definition at line 27 of file touch.h.

Member Function Documentation

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

The serial when the down event happened.

Definition at line 77 of file touch.cpp.

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 110 of file touch.cpp.

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

true if currently down, false otherwise.

Definition at line 105 of file touch.cpp.

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

Most recent position.

Definition at line 64 of file touch.cpp.

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

All positions this TouchPoint had, updated with each move.

Definition at line 72 of file touch.cpp.

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

The Surface this TouchPoint happened on.

Definition at line 87 of file touch.cpp.

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

Most recent timestamp.

Definition at line 92 of file touch.cpp.

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

All timestamps, references the positions.

That is each position has a timestamp.

Definition at line 100 of file touch.cpp.

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

The serial when the up event happened.

Definition at line 82 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-2020 The KDE developers.
Generated on Wed May 27 2020 23:04:42 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.