Add documenation about QAccessibleStateChange event.

Change-Id: Iea34d71d71a6dd58f761722ce20ae8ec2b81ae58
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
bb10
Frederik Gladhorn 2012-03-07 16:27:47 +01:00 committed by Qt by Nokia
parent ca737f566b
commit 7738f96f09
1 changed files with 23 additions and 0 deletions

View File

@ -697,8 +697,31 @@ void QAccessible::updateAccessibility(const QAccessibleEvent &event)
This class should be created on the stack and used as parameter for
\l QAccessible::updateAccessibility().
\sa QAccessibleStateChangedEvent
*/
/*!
\class QAccessibleStateChangedEvent
\brief This subclass of QAccessibleEvent is used to inform about state changes.
\internal
\ingroup accessibility
\inmodule QtGui
This class should be created on the stack and used as parameter for
\l QAccessible::updateAccessibility().
In addition to the regular \l QAccessibleEvent it contains details about which states
changed.
\sa QAccessibleEvent
*/
/*!
\fn QAccessibleStateChangeEvent::changedStates() const
All states that have changed are set to true. This does not reflect the state of the object,
but indicates which states are changed.
Use the \l QAccessibleInterface::state() function to get the current state.
*/
/*!
Returns the QAccessibleInterface associated with the event.