Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QAccessibleTextInsertEvent Class

The QAccessibleTextInsertEvent class notifies of text being inserted. More...

Header: #include <QAccessibleTextInsertEvent>
qmake: QT += gui
Inherits: QAccessibleTextCursorEvent

Public Functions

QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)
QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)
int changePosition() const
QString textInserted() const

Detailed Description

The QAccessibleTextInsertEvent class notifies of text being inserted.

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

Member Function Documentation

QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *object, int position, const QString &text)

Constructs a new QAccessibleTextInsertEvent event for object. The text has been inserted at position. By default, it is assumed that the cursor has moved to the end of the selection. If that is not the case, one needs to manually set it with QAccessibleTextCursorEvent::setCursorPosition() for this event.

QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)

Constructs a new QAccessibleTextInsertEvent event for iface. The text has been inserted at position.

int QAccessibleTextInsertEvent::changePosition() const

Returns the position where the text was inserted.

QString QAccessibleTextInsertEvent::textInserted() const

Returns the text that has been inserted.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded