QAccessibleTextRemoveEvent Class
The QAccessibleTextRemoveEvent class notifies of text being deleted. More...
Header: | #include <QAccessibleTextRemoveEvent> |
qmake: | QT += gui |
Inherits: | QAccessibleTextCursorEvent |
Public Functions
QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text) | |
QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) | |
int | changePosition() const |
QString | textRemoved() const |
- 2 public functions inherited from QAccessibleTextCursorEvent
- 5 public functions inherited from QAccessibleEvent
Detailed Description
The QAccessibleTextRemoveEvent class notifies of text being deleted.
This class is used with QAccessible::updateAccessibility().
Member Function Documentation
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text)
Constructs a new QAccessibleTextRemoveEvent event for object. The text has been removed at position. By default it is assumed that the cursor has moved to position. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition() for this event.
QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)
Constructs a new QAccessibleTextRemoveEvent event for iface. The text has been removed at position. By default it is assumed that the cursor has moved to position. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition() for this event.
int QAccessibleTextRemoveEvent::changePosition() const
Returns the position where the text was removed.
QString QAccessibleTextRemoveEvent::textRemoved() const
Returns the text that has been removed.
© 2017 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.