C

QSafeEventConnection Class

class SafeRenderer::QSafeEventConnection

The QSafeEventConnection class connects the layout item to the system event. More...

Header: #include <QSafeEventConnection>
Since: QtSafeRenderer 1.0
Inherits: SafeRenderer::QSafeEvent

This class was introduced in QtSafeRenderer 1.0.

Public Functions

SafeRenderer::quint32 itemId() const
void setItemId(const SafeRenderer::quint32 valueArg)
void setSystemEventId(const SafeRenderer::quint32 valueArg)
SafeRenderer::quint32 systemEventId() const

Detailed Description

This event can be used to connect any quint32 event ID to the safe item in the StateManager class. When this event occurs, SafeRenderer draws the item accordingly. The state changes can be sent by the QSafeEventSystem event.

Member Function Documentation

SafeRenderer::quint32 QSafeEventConnection::itemId() const

Returns the event's item id.

See also setItemId().

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

Sets the item id.

valueArg is the hash of the safe item's objectName in QML.

In case of a failure, the following exception will be thrown:

ConstantDescription
SafeRenderer::QSafeEvent::OutOfBoundsThe offset of the data goes out of the reserved memory area.

See also itemId().

void QSafeEventConnection::setSystemEventId(const SafeRenderer::quint32 valueArg)

Sets the system event id to valueArg.

In case of a failure, the following exception will be thrown:

ConstantDescription
SafeRenderer::QSafeEvent::OutOfBoundsThe offset of the data goes out of the reserved memory area.

See also systemEventId().

SafeRenderer::quint32 QSafeEventConnection::systemEventId() const

Returns the system event id.

See also setSystemEventId().

Available under certain Qt licenses.
Find out more.