C

QSafeEventItemTouch Class

class SafeRenderer::QSafeEventItemTouch

The QSafeEventItemTouch class contains parameters that describe a touch event. More...

Header: #include <QSafeEventItemTouch>
Since: QtSafeRenderer 3.0
Inherits: SafeRenderer::QSafeEvent

Public Functions

SafeRenderer::quint32 itemId() const
bool pressed() const
void setItemId(const SafeRenderer::quint32 valueArg)
void setPressed(const bool valueArg)

Detailed Description

QSafeEventItemTouch is used to send the touch information to the safe renderer process. The event contains information about the item and the pressed state.

Member Function Documentation

SafeRenderer::quint32 QSafeEventItemTouch::itemId() const

Returns the ID of the item.

See also setItemId().

bool QSafeEventItemTouch::pressed() const

Returns the pressed value. 1 equals to pressed and 0 released.

See also setPressed().

void QSafeEventItemTouch::setItemId(const SafeRenderer::quint32 valueArg)

Sets the item id.

valueArg is the ID of the item used in QML.

See also itemId().

void QSafeEventItemTouch::setPressed(const bool valueArg)

Sets the pressed value.

valueArg is the pressed value. True equals to pressed and false released.

See also pressed().

Available under certain Qt licenses.
Find out more.