C
QSafeTouch Class
class SafeRenderer::QSafeTouchThe QSafeTouch class contains parameters that describe a touch event. More...
Header: | #include <QSafeTouch> |
Since: | QtSafeRenderer 2.0 |
Inherits: | SafeRenderer::QSafeEvent |
Public Functions
SafeRenderer::quint32 | getX() const |
SafeRenderer::quint32 | getY() const |
bool | pressed() const |
void | setPressed(const bool valueArg) |
void | setX(const SafeRenderer::quint32 valueArg) |
void | setY(const SafeRenderer::quint32 valueArg) |
Detailed Description
QSafeTouch is used to send the touch information to the safe renderer process. The event contains information about the x and y coordinates and the pressed state.
Member Function Documentation
SafeRenderer::quint32 QSafeTouch::getX() const
Returns the x-coordinate value.
SafeRenderer::quint32 QSafeTouch::getY() const
Returns the y-coordinate value.
bool QSafeTouch::pressed() const
Returns the pressed value. 1 equals to pressed and 0 released.
See also setPressed().
void QSafeTouch::setPressed(const bool valueArg)
Sets the pressed value.
valueArg is the pressed value. True equals to pressed and false released.
See also pressed().
void QSafeTouch::setX(const SafeRenderer::quint32 valueArg)
Sets the x-coordinate.
valueArg is the x-coordinate value.
void QSafeTouch::setY(const SafeRenderer::quint32 valueArg)
Sets the y-coordinate.
valueArg is the y-coordinate value.
Available under certain Qt licenses.
Find out more.