KateViewAccessible

Search for usage in LXR

KateViewAccessible Class Reference

#include <kateviewaccessible.h>

Inheritance diagram for KateViewAccessible:

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
 
QAccessibleInterfacechildAt (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 QAccessibleInterfacechild (int index) const const override
 
virtual int childCount () const const override
 
virtual void doAction (const QString &actionName) override
 
virtual QAccessibleInterfacefocusChild () 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 QAccessibleInterfaceparent () 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 QWindowwindow () const const override
 
- Public Member Functions inherited from QAccessibleObject
 QAccessibleObject (QObject *object)
 
virtual QObjectobject () const const override
 
- Public Member Functions inherited from QAccessibleInterface
QAccessibleActionInterfaceactionInterface ()
 
QAccessibleSelectionInterfaceselectionInterface ()
 
QAccessibleTableCellInterfacetableCellInterface ()
 
QAccessibleTableInterfacetableInterface ()
 
QAccessibleTextInterfacetextInterface ()
 
QAccessibleValueInterfacevalueInterface ()
 
- 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 QStringdecreaseAction ()
 
const QStringincreaseAction ()
 
QString nextPageAction ()
 
const QStringpressAction ()
 
QString previousPageAction ()
 
QString scrollDownAction ()
 
QString scrollLeftAction ()
 
QString scrollRightAction ()
 
QString scrollUpAction ()
 
const QStringsetFocusAction ()
 
const QStringshowMenuAction ()
 
const QStringtoggleAction ()
 
- Protected Member Functions inherited from QAccessibleWidget
void addControllingSignal (const QString &signal)
 
QObjectparentObject () const const
 
QWidgetwidget () 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()

KateViewAccessible::KateViewAccessible ( KateViewInternal * view)
inlineexplicit

Definition at line 31 of file kateviewaccessible.h.

◆ ~KateViewAccessible()

KateViewAccessible::~KateViewAccessible ( )
inlineoverride

Definition at line 50 of file kateviewaccessible.h.

Member Function Documentation

◆ addSelection()

void KateViewAccessible::addSelection ( int startOffset,
int endOffset )
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 100 of file kateviewaccessible.h.

◆ attributes()

QString KateViewAccessible::attributes ( int offset,
int * startOffset,
int * endOffset ) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 108 of file kateviewaccessible.h.

◆ characterCount()

int KateViewAccessible::characterCount ( ) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 95 of file kateviewaccessible.h.

◆ characterRect()

QRect KateViewAccessible::characterRect ( int offset) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 116 of file kateviewaccessible.h.

◆ childAt()

QAccessibleInterface * KateViewAccessible::childAt ( int x,
int y ) const
inlineoverridevirtual

Reimplemented from QAccessibleObject.

Definition at line 55 of file kateviewaccessible.h.

◆ cursorPosition()

int KateViewAccessible::cursorPosition ( ) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 128 of file kateviewaccessible.h.

◆ deleteText()

void KateViewAccessible::deleteText ( int startOffset,
int endOffset )
inlineoverridevirtual

Implements QAccessibleEditableTextInterface.

Definition at line 283 of file kateviewaccessible.h.

◆ insertText()

void KateViewAccessible::insertText ( int offset,
const QString & text )
inlineoverridevirtual

Implements QAccessibleEditableTextInterface.

Definition at line 290 of file kateviewaccessible.h.

◆ interface_cast()

void * KateViewAccessible::interface_cast ( QAccessible::InterfaceType t)
inlineoverridevirtual

Reimplemented from QAccessibleWidget.

Definition at line 41 of file kateviewaccessible.h.

◆ offsetAtPoint()

int KateViewAccessible::offsetAtPoint ( const QPoint & point) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 134 of file kateviewaccessible.h.

◆ positionFromCursor()

int KateViewAccessible::positionFromCursor ( KateViewInternal * view,
KTextEditor::Cursor cursor ) const
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()

void KateViewAccessible::removeSelection ( int selectionIndex)
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 143 of file kateviewaccessible.h.

◆ replaceText()

void KateViewAccessible::replaceText ( int startOffset,
int endOffset,
const QString & text )
inlineoverridevirtual

Implements QAccessibleEditableTextInterface.

Definition at line 297 of file kateviewaccessible.h.

◆ scrollToSubstring()

void KateViewAccessible::scrollToSubstring ( int startIndex,
int  )
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 151 of file kateviewaccessible.h.

◆ selection()

void KateViewAccessible::selection ( int selectionIndex,
int * startOffset,
int * endOffset ) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 160 of file kateviewaccessible.h.

◆ selectionCount()

int KateViewAccessible::selectionCount ( ) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 172 of file kateviewaccessible.h.

◆ setCursorPosition()

void KateViewAccessible::setCursorPosition ( int position)
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 177 of file kateviewaccessible.h.

◆ setSelection()

void KateViewAccessible::setSelection ( int selectionIndex,
int startOffset,
int endOffset )
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 182 of file kateviewaccessible.h.

◆ setText()

void KateViewAccessible::setText ( QAccessible::Text t,
const QString & text )
inlineoverridevirtual

Reimplemented from QAccessibleObject.

Definition at line 62 of file kateviewaccessible.h.

◆ state()

QAccessible::State KateViewAccessible::state ( ) const
inlineoverridevirtual

Reimplemented from QAccessibleWidget.

Definition at line 70 of file kateviewaccessible.h.

◆ text() [1/2]

QString KateViewAccessible::text ( int startOffset,
int endOffset ) const
inlineoverridevirtual

Implements QAccessibleTextInterface.

Definition at line 191 of file kateviewaccessible.h.

◆ text() [2/2]

QString KateViewAccessible::text ( QAccessible::Text t) const
inlineoverridevirtual

Reimplemented from QAccessibleWidget.

Definition at line 81 of file kateviewaccessible.h.

◆ textAfterOffset()

QString KateViewAccessible::textAfterOffset ( int ,
QAccessible::TextBoundaryType ,
int * startOffset,
int * endOffset ) const
inlineoverridevirtual

Reimplemented from QAccessibleTextInterface.

Definition at line 275 of file kateviewaccessible.h.

◆ textAtOffset()

QString KateViewAccessible::textAtOffset ( int offset,
QAccessible::TextBoundaryType boundaryType,
int * startOffset,
int * endOffset ) const
inlineoverridevirtual

Reimplemented from QAccessibleTextInterface.

Definition at line 199 of file kateviewaccessible.h.

◆ textBeforeOffset()

QString KateViewAccessible::textBeforeOffset ( int ,
QAccessible::TextBoundaryType ,
int * startOffset,
int * endOffset ) const
inlineoverridevirtual

Reimplemented from QAccessibleTextInterface.

Definition at line 268 of file kateviewaccessible.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.