QAccessibleTextRemoveEvent Class
The QAccessibleTextRemoveEvent class notifies of text being deleted. 更多...
头文件: | #include <QAccessibleTextRemoveEvent> |
qmake: | QT += gui |
基类: | QAccessibleTextCursorEvent |
公有函数
QAccessibleTextRemoveEvent(QObject *object, int position, const QString &text) | |
QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) | |
int | changePosition() const |
QString | textRemoved() const |
- 2 个公有函数继承自 QAccessibleTextCursorEvent
- 5 个公有函数继承自 QAccessibleEvent
详细描述
The QAccessibleTextRemoveEvent class notifies of text being deleted.
This class is used with QAccessible::updateAccessibility().
成员函数
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.