QAccessibleObject Class

The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects. More...

Header: #include <QAccessibleObject>
Inherits: QAccessibleInterface
Inherited By:

QAccessibleWidget

Public Functions

QAccessibleObject(QObject * object)

Reimplemented Public Functions

virtual QString actionText(int action, Text t, int child) const
virtual bool doAction(int action, int child, const QVariantList & params)
virtual bool isValid() const
virtual QObject * object() const
virtual QRect rect(int child) const
virtual void setText(Text t, int child, const QString & text)
virtual int userActionCount(int child) const

Protected Functions

virtual ~QAccessibleObject()

Additional Inherited Members

Detailed Description

The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects.

This class is mainly provided for convenience. All subclasses of the QAccessibleInterface that provide implementations of non-widget objects should use this class as their base class.

See also QAccessible and QAccessibleWidget.

Member Function Documentation

QAccessibleObject::QAccessibleObject(QObject * object)

Creates a QAccessibleObject for object.

[virtual protected] QAccessibleObject::~QAccessibleObject()

Destroys the QAccessibleObject.

This only happens when a call to release() decrements the internal reference counter to zero.

[virtual] QString QAccessibleObject::actionText(int action, Text t, int child) const

Reimplemented from QAccessibleInterface::actionText().

[virtual] bool QAccessibleObject::doAction(int action, int child, const QVariantList & params)

Reimplemented from QAccessibleInterface::doAction().

[virtual] bool QAccessibleObject::isValid() const

Reimplemented from QAccessibleInterface::isValid().

[virtual] QObject * QAccessibleObject::object() const

Reimplemented from QAccessibleInterface::object().

[virtual] QRect QAccessibleObject::rect(int child) const

Reimplemented from QAccessibleInterface::rect().

[virtual] void QAccessibleObject::setText(Text t, int child, const QString & text)

Reimplemented from QAccessibleInterface::setText().

[virtual] int QAccessibleObject::userActionCount(int child) const

Reimplemented from QAccessibleInterface::userActionCount().

© 2016 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.