KateViewAccessible
#include <kateviewaccessible.h>
Public Member Functions | |
KateViewAccessible (KateViewInternal *view) | |
void | addSelection (int startOffset, int endOffset) override |
QString | attributes (int offset, int *startOffset, int *endOffset) const override |
int | characterCount () const override |
QRect | characterRect (int offset) const override |
QAccessibleInterface * | childAt (int x, int y) const override |
int | cursorPosition () const override |
void | deleteText (int startOffset, int endOffset) override |
void | insertText (int offset, const QString &text) override |
void * | interface_cast (QAccessible::InterfaceType t) override |
int | offsetAtPoint (const QPoint &point) const override |
int | positionFromCursor (KateViewInternal *view, KTextEditor::Cursor cursor) const |
void | removeSelection (int selectionIndex) override |
void | replaceText (int startOffset, int endOffset, const QString &text) override |
void | scrollToSubstring (int startIndex, int) override |
void | selection (int selectionIndex, int *startOffset, int *endOffset) const override |
int | selectionCount () const override |
void | setCursorPosition (int position) override |
void | setSelection (int selectionIndex, int startOffset, int endOffset) override |
void | setText (QAccessible::Text t, const QString &text) override |
QAccessible::State | state () const override |
QString | text (int startOffset, int endOffset) const override |
QString | text (QAccessible::Text t) const override |
QString | textAfterOffset (int, QAccessible::TextBoundaryType, int *startOffset, int *endOffset) const override |
QString | textAtOffset (int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const override |
QString | textBeforeOffset (int, QAccessible::TextBoundaryType, int *startOffset, int *endOffset) const override |
Public Member Functions inherited from QAccessibleWidget | |
QAccessibleWidget (QWidget *w, QAccessible::Role role, const QString &name) | |
virtual QStringList | actionNames () const const override |
virtual QColor | backgroundColor () const const override |
virtual QAccessibleInterface * | child (int index) const const override |
virtual int | childCount () const const override |
virtual void | doAction (const QString &actionName) override |
virtual QAccessibleInterface * | focusChild () const const override |
virtual QColor | foregroundColor () const const override |
virtual int | indexOfChild (const QAccessibleInterface *child) const const override |
virtual bool | isValid () const const override |
virtual QStringList | keyBindingsForAction (const QString &actionName) const const override |
virtual QAccessibleInterface * | parent () const const override |
virtual QRect | rect () const const override |
virtual QList< QPair< QAccessibleInterface *, QAccessible::Relation > > | relations (QAccessible::Relation match) const const override |
virtual QAccessible::Role | role () const const override |
virtual QWindow * | window () const const override |
Public Member Functions inherited from QAccessibleObject | |
QAccessibleObject (QObject *object) | |
virtual QObject * | object () const const override |
Public Member Functions inherited from QAccessibleInterface | |
QAccessibleActionInterface * | actionInterface () |
QAccessibleSelectionInterface * | selectionInterface () |
QAccessibleTableCellInterface * | tableCellInterface () |
QAccessibleTableInterface * | tableInterface () |
QAccessibleTextInterface * | textInterface () |
QAccessibleValueInterface * | valueInterface () |
Public Member Functions inherited from QAccessibleActionInterface | |
virtual QString | localizedActionDescription (const QString &actionName) const const |
virtual QString | localizedActionName (const QString &actionName) const const |
Public Member Functions inherited from QAccessibleTextInterface | |
Public Member Functions inherited from QAccessibleEditableTextInterface |
Additional Inherited Members | |
Static Public Member Functions inherited from QAccessibleActionInterface | |
const QString & | decreaseAction () |
const QString & | increaseAction () |
QString | nextPageAction () |
const QString & | pressAction () |
QString | previousPageAction () |
QString | scrollDownAction () |
QString | scrollLeftAction () |
QString | scrollRightAction () |
QString | scrollUpAction () |
const QString & | setFocusAction () |
const QString & | showMenuAction () |
const QString & | toggleAction () |
Protected Member Functions inherited from QAccessibleWidget | |
void | addControllingSignal (const QString &signal) |
QObject * | parentObject () const const |
QWidget * | widget () const const |
Protected Member Functions inherited from QAccessibleObject | |
Protected Member Functions inherited from QAccessibleInterface |
Detailed Description
This class implements a QAccessible-interface for a KateViewInternal.
This is the root class for the kateview. The KateCursorAccessible class represents the cursor in the kateview and is a child of this class.
Definition at line 28 of file kateviewaccessible.h.
Constructor & Destructor Documentation
◆ KateViewAccessible()
|
inlineexplicit |
Definition at line 31 of file kateviewaccessible.h.
◆ ~KateViewAccessible()
|
inlineoverride |
Definition at line 50 of file kateviewaccessible.h.
Member Function Documentation
◆ addSelection()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 100 of file kateviewaccessible.h.
◆ attributes()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 108 of file kateviewaccessible.h.
◆ characterCount()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 95 of file kateviewaccessible.h.
◆ characterRect()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 116 of file kateviewaccessible.h.
◆ childAt()
|
inlineoverridevirtual |
Reimplemented from QAccessibleObject.
Definition at line 55 of file kateviewaccessible.h.
◆ cursorPosition()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 128 of file kateviewaccessible.h.
◆ deleteText()
|
inlineoverridevirtual |
Implements QAccessibleEditableTextInterface.
Definition at line 283 of file kateviewaccessible.h.
◆ insertText()
|
inlineoverridevirtual |
Implements QAccessibleEditableTextInterface.
Definition at line 290 of file kateviewaccessible.h.
◆ interface_cast()
|
inlineoverridevirtual |
Reimplemented from QAccessibleWidget.
Definition at line 41 of file kateviewaccessible.h.
◆ offsetAtPoint()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 134 of file kateviewaccessible.h.
◆ positionFromCursor()
|
inline |
When possible, using the last returned value m_lastPosition do the count from the last cursor position m_lastCursor.
- Returns
- the number of chars (including one character for new lines) from the beginning of the file.
Definition at line 310 of file kateviewaccessible.h.
◆ removeSelection()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 143 of file kateviewaccessible.h.
◆ replaceText()
|
inlineoverridevirtual |
Implements QAccessibleEditableTextInterface.
Definition at line 297 of file kateviewaccessible.h.
◆ scrollToSubstring()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 151 of file kateviewaccessible.h.
◆ selection()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 160 of file kateviewaccessible.h.
◆ selectionCount()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 172 of file kateviewaccessible.h.
◆ setCursorPosition()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 177 of file kateviewaccessible.h.
◆ setSelection()
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 182 of file kateviewaccessible.h.
◆ setText()
|
inlineoverridevirtual |
Reimplemented from QAccessibleObject.
Definition at line 62 of file kateviewaccessible.h.
◆ state()
|
inlineoverridevirtual |
Reimplemented from QAccessibleWidget.
Definition at line 70 of file kateviewaccessible.h.
◆ text() [1/2]
|
inlineoverridevirtual |
Implements QAccessibleTextInterface.
Definition at line 191 of file kateviewaccessible.h.
◆ text() [2/2]
|
inlineoverridevirtual |
Reimplemented from QAccessibleWidget.
Definition at line 81 of file kateviewaccessible.h.
◆ textAfterOffset()
|
inlineoverridevirtual |
Reimplemented from QAccessibleTextInterface.
Definition at line 275 of file kateviewaccessible.h.
◆ textAtOffset()
|
inlineoverridevirtual |
Reimplemented from QAccessibleTextInterface.
Definition at line 199 of file kateviewaccessible.h.
◆ textBeforeOffset()
|
inlineoverridevirtual |
Reimplemented from QAccessibleTextInterface.
Definition at line 268 of file kateviewaccessible.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:05:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.