Accessibility: unhide text() function in TextWidget subclasses.
Change-Id: Ib5a64ff8de175d1ffc6e4357ec9ec45c4c2f2917 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
parent
bb5e45d0a0
commit
4223519868
@ -109,6 +109,8 @@ public:
|
||||
void insertText(int offset, const QString &text);
|
||||
void replaceText(int startOffset, int endOffset, const QString &text);
|
||||
|
||||
using QAccessibleWidget::text;
|
||||
|
||||
protected:
|
||||
QTextCursor textCursorForRange(int startOffset, int endOffset) const;
|
||||
QPair<int, int> getBoundaries(int offset, QAccessible2::BoundaryType boundaryType) const;
|
||||
@ -134,6 +136,9 @@ public:
|
||||
|
||||
// QAccessibleTextInterface
|
||||
void scrollToSubstring(int startIndex, int endIndex);
|
||||
|
||||
using QAccessibleTextWidget::text;
|
||||
|
||||
protected:
|
||||
QPlainTextEdit *plainTextEdit() const;
|
||||
|
||||
@ -158,6 +163,8 @@ public:
|
||||
// QAccessibleTextInterface
|
||||
void scrollToSubstring(int startIndex, int endIndex);
|
||||
|
||||
using QAccessibleTextWidget::text;
|
||||
|
||||
protected:
|
||||
QTextEdit *textEdit() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user