QAccessibleValueChangeEvent Class

The QAccessibleValueChangeEvent describes a change in value for an accessible object. More...

Header: #include <QAccessibleValueChangeEvent>
qmake: QT += gui
Inherits: QAccessibleEvent

Public Functions

QAccessibleValueChangeEvent(QObject *object, const QVariant &value)
QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)
void setValue(const QVariant &value)
QVariant value() const

Protected Variables

QVariant m_value

Detailed Description

The QAccessibleValueChangeEvent describes a change in value for an accessible object.

It contains the new value.

This class is used with QAccessible::updateAccessibility().

Member Function Documentation

QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *object, const QVariant &value)

Constructs a new QAccessibleValueChangeEvent for object. The event contains the new value.

QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)

Constructs a new QAccessibleValueChangeEvent for iface. The event contains the new value val.

void QAccessibleValueChangeEvent::setValue(const QVariant &value)

Sets the new value for this event.

See also value().

QVariant QAccessibleValueChangeEvent::value() const

Returns the new value of the accessible object of this event.

See also setValue().

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.