Kate
KateViewInternal Class Reference
#include <kateviewinternal.h>

Public Types | |
enum | Bias { left = -1, none = 0, right = 1 } |
Public Slots | |
void | dynamicHighlightAdded (KateSmartRange *range) |
void | dynamicHighlightRemoved (KateSmartRange *range) |
void | rangeDeleted (KateSmartRange *range) |
void | slotDecFontSizes () |
void | slotIncFontSizes () |
void | updateRange (KateSmartRange *range) |
Signals | |
void | dropEventPass (QDropEvent *) |
void | requestViewUpdate (bool changed) |
Public Member Functions | |
void | addHighlightRange (KTextEditor::SmartRange *range) |
void | bottom (bool sel=false) |
void | bottom_end (bool sel=false) |
void | bottomOfView (bool sel=false) |
void | clear () |
KTextEditor::Cursor | coordinatesToCursor (const QPoint &coord) const |
QPoint | cursorCoordinates (bool includeBorder=true) const |
void | cursorDown (bool sel=false) |
void | cursorLeft (bool sel=false) |
void | cursorRight (bool sel=false) |
QPoint | cursorToCoordinate (const KTextEditor::Cursor &cursor, bool realCursor=true, bool includeBorder=true) const |
void | cursorToMatchingBracket (bool sel=false) |
void | cursorUp (bool sel=false) |
void | disableTextHints () |
void | doBackspace () |
void | doDelete () |
void | doDeleteWordLeft () |
void | doDeleteWordRight () |
void | doReturn () |
void | doSmartNewline () |
void | doTranspose () |
void | dynWrapChanged () |
void | editEnd (int editTagLineStart, int editTagLineEnd, bool tagFrom) |
void | editSetCursor (const KTextEditor::Cursor &cursor) |
void | editStart () |
void | enableTextHints (int timeout) |
void | end (bool sel=false) |
int | endLine () const |
KTextEditor::Cursor | endPos () const |
KTextEditor::Cursor | findMatchingBracket () |
KTextEditor::Cursor | getCursor () const |
void | home (bool sel=false) |
virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const |
KateViewInternal (KateView *view, KateDocument *doc) | |
void | pageDown (bool sel=false) |
void | pageUp (bool sel=false) |
void | prepareForDynWrapChange () |
void | relayoutRange (const KTextEditor::Range &range, bool realCursors=true) |
void | removeHighlightRange (KTextEditor::SmartRange *range) |
void | scrollDown () |
void | scrollUp () |
int | startLine () const |
const KTextEditor::Cursor & | startPos () const |
int | startX () const |
void | tagAll () |
bool | tagLine (const KTextEditor::Cursor &virtualCursor) |
bool | tagLines (KTextEditor::Cursor start, KTextEditor::Cursor end, bool realCursors=false) |
bool | tagLines (int start, int end, bool realLines=false) |
bool | tagRange (const KTextEditor::Range &range, bool realCursors) |
void | top (bool sel=false) |
void | top_home (bool sel=false) |
void | topOfView (bool sel=false) |
void | updateDirty () |
KateView * | view () |
void | wordLeft (bool sel=false) |
void | wordRight (bool sel=false) |
KateTextLayout | yToKateTextLayout (int y) const |
~KateViewInternal () | |
Protected Member Functions | |
void | contextMenuEvent (QContextMenuEvent *e) |
virtual void | dragEnterEvent (QDragEnterEvent *) |
virtual void | dragMoveEvent (QDragMoveEvent *) |
virtual void | dropEvent (QDropEvent *) |
virtual bool | eventFilter (QObject *obj, QEvent *e) |
virtual void | focusInEvent (QFocusEvent *) |
virtual void | focusOutEvent (QFocusEvent *) |
virtual void | hideEvent (QHideEvent *e) |
virtual void | inputMethodEvent (QInputMethodEvent *e) |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | keyReleaseEvent (QKeyEvent *) |
virtual void | leaveEvent (QEvent *) |
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
virtual void | paintEvent (QPaintEvent *e) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | showEvent (QShowEvent *) |
virtual void | wheelEvent (QWheelEvent *e) |
Detailed Description
Definition at line 54 of file kateviewinternal.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KateViewInternal::KateViewInternal | ( | KateView * | view, | |
KateDocument * | doc | |||
) |
Definition at line 63 of file kateviewinternal.cpp.
KateViewInternal::~KateViewInternal | ( | ) |
Definition at line 260 of file kateviewinternal.cpp.
Member Function Documentation
void KateViewInternal::addHighlightRange | ( | KTextEditor::SmartRange * | range | ) |
Definition at line 3621 of file kateviewinternal.cpp.
void KateViewInternal::bottom | ( | bool | sel = false |
) |
Definition at line 1678 of file kateviewinternal.cpp.
void KateViewInternal::bottom_end | ( | bool | sel = false |
) |
Definition at line 1705 of file kateviewinternal.cpp.
void KateViewInternal::bottomOfView | ( | bool | sel = false |
) |
Definition at line 1503 of file kateviewinternal.cpp.
void KateViewInternal::clear | ( | ) |
Definition at line 3216 of file kateviewinternal.cpp.
void KateViewInternal::contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected] |
KTextEditor::Cursor KateViewInternal::coordinatesToCursor | ( | const QPoint & | coord | ) | const |
Definition at line 2750 of file kateviewinternal.cpp.
QPoint KateViewInternal::cursorCoordinates | ( | bool | includeBorder = true |
) | const |
Definition at line 748 of file kateviewinternal.cpp.
void KateViewInternal::cursorDown | ( | bool | sel = false |
) |
Definition at line 1451 of file kateviewinternal.cpp.
void KateViewInternal::cursorLeft | ( | bool | sel = false |
) |
Definition at line 1058 of file kateviewinternal.cpp.
void KateViewInternal::cursorRight | ( | bool | sel = false |
) |
Definition at line 1068 of file kateviewinternal.cpp.
QPoint KateViewInternal::cursorToCoordinate | ( | const KTextEditor::Cursor & | cursor, | |
bool | realCursor = true , |
|||
bool | includeBorder = true | |||
) | const |
Definition at line 723 of file kateviewinternal.cpp.
void KateViewInternal::cursorToMatchingBracket | ( | bool | sel = false |
) |
Definition at line 1486 of file kateviewinternal.cpp.
void KateViewInternal::cursorUp | ( | bool | sel = false |
) |
Definition at line 1416 of file kateviewinternal.cpp.
void KateViewInternal::disableTextHints | ( | ) |
Definition at line 3293 of file kateviewinternal.cpp.
void KateViewInternal::doBackspace | ( | ) |
Definition at line 807 of file kateviewinternal.cpp.
void KateViewInternal::doDelete | ( | ) |
Definition at line 802 of file kateviewinternal.cpp.
void KateViewInternal::doDeleteWordLeft | ( | ) |
Definition at line 817 of file kateviewinternal.cpp.
void KateViewInternal::doDeleteWordRight | ( | ) |
Definition at line 828 of file kateviewinternal.cpp.
void KateViewInternal::doReturn | ( | ) |
Definition at line 776 of file kateviewinternal.cpp.
void KateViewInternal::doSmartNewline | ( | ) |
Definition at line 782 of file kateviewinternal.cpp.
void KateViewInternal::doTranspose | ( | ) |
Definition at line 812 of file kateviewinternal.cpp.
void KateViewInternal::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected, virtual] |
void KateViewInternal::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected, virtual] |
void KateViewInternal::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
void KateViewInternal::dropEventPass | ( | QDropEvent * | ) | [signal] |
void KateViewInternal::dynamicHighlightAdded | ( | KateSmartRange * | range | ) | [slot] |
Definition at line 3388 of file kateviewinternal.cpp.
void KateViewInternal::dynamicHighlightRemoved | ( | KateSmartRange * | range | ) | [slot] |
Definition at line 3404 of file kateviewinternal.cpp.
void KateViewInternal::dynWrapChanged | ( | ) |
Definition at line 280 of file kateviewinternal.cpp.
void KateViewInternal::editEnd | ( | int | editTagLineStart, | |
int | editTagLineEnd, | |||
bool | tagFrom | |||
) |
Definition at line 3311 of file kateviewinternal.cpp.
void KateViewInternal::editSetCursor | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 3344 of file kateviewinternal.cpp.
void KateViewInternal::editStart | ( | ) |
Definition at line 3300 of file kateviewinternal.cpp.
void KateViewInternal::enableTextHints | ( | int | timeout | ) |
Definition at line 3286 of file kateviewinternal.cpp.
void KateViewInternal::end | ( | bool | sel = false |
) |
Definition at line 1202 of file kateviewinternal.cpp.
int KateViewInternal::endLine | ( | ) | const |
Definition at line 335 of file kateviewinternal.cpp.
KTextEditor::Cursor KateViewInternal::endPos | ( | ) | const |
Definition at line 311 of file kateviewinternal.cpp.
Definition at line 2135 of file kateviewinternal.cpp.
KTextEditor::Cursor KateViewInternal::findMatchingBracket | ( | ) |
Definition at line 753 of file kateviewinternal.cpp.
void KateViewInternal::focusInEvent | ( | QFocusEvent * | ) | [protected, virtual] |
void KateViewInternal::focusOutEvent | ( | QFocusEvent * | ) | [protected, virtual] |
KTextEditor::Cursor KateViewInternal::getCursor | ( | ) | const |
Definition at line 716 of file kateviewinternal.cpp.
void KateViewInternal::hideEvent | ( | QHideEvent * | e | ) | [protected, virtual] |
void KateViewInternal::home | ( | bool | sel = false |
) |
Definition at line 1167 of file kateviewinternal.cpp.
void KateViewInternal::inputMethodEvent | ( | QInputMethodEvent * | e | ) | [protected, virtual] |
QVariant KateViewInternal::inputMethodQuery | ( | Qt::InputMethodQuery | query | ) | const [virtual] |
void KateViewInternal::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
void KateViewInternal::keyReleaseEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
void KateViewInternal::leaveEvent | ( | QEvent * | ) | [protected, virtual] |
void KateViewInternal::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
void KateViewInternal::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
void KateViewInternal::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
void KateViewInternal::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
void KateViewInternal::pageDown | ( | bool | sel = false |
) |
Definition at line 1591 of file kateviewinternal.cpp.
void KateViewInternal::pageUp | ( | bool | sel = false |
) |
Definition at line 1544 of file kateviewinternal.cpp.
void KateViewInternal::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
void KateViewInternal::prepareForDynWrapChange | ( | ) |
Definition at line 274 of file kateviewinternal.cpp.
void KateViewInternal::rangeDeleted | ( | KateSmartRange * | range | ) | [slot] |
Definition at line 3413 of file kateviewinternal.cpp.
void KateViewInternal::relayoutRange | ( | const KTextEditor::Range & | range, | |
bool | realCursors = true | |||
) |
Definition at line 3568 of file kateviewinternal.cpp.
void KateViewInternal::removeHighlightRange | ( | KTextEditor::SmartRange * | range | ) |
Definition at line 3630 of file kateviewinternal.cpp.
void KateViewInternal::requestViewUpdate | ( | bool | changed | ) | [signal] |
void KateViewInternal::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
void KateViewInternal::scrollDown | ( | ) |
Definition at line 1530 of file kateviewinternal.cpp.
void KateViewInternal::scrollUp | ( | ) |
Definition at line 1524 of file kateviewinternal.cpp.
void KateViewInternal::showEvent | ( | QShowEvent * | e | ) | [protected, virtual] |
void KateViewInternal::slotDecFontSizes | ( | ) | [slot] |
Definition at line 364 of file kateviewinternal.cpp.
void KateViewInternal::slotIncFontSizes | ( | ) | [slot] |
Definition at line 359 of file kateviewinternal.cpp.
int KateViewInternal::startLine | ( | ) | const [inline] |
Definition at line 126 of file kateviewinternal.h.
const KTextEditor::Cursor& KateViewInternal::startPos | ( | ) | const [inline] |
Definition at line 125 of file kateviewinternal.h.
int KateViewInternal::startX | ( | ) | const [inline] |
Definition at line 127 of file kateviewinternal.h.
void KateViewInternal::tagAll | ( | ) |
Definition at line 2086 of file kateviewinternal.cpp.
bool KateViewInternal::tagLine | ( | const KTextEditor::Cursor & | virtualCursor | ) |
Definition at line 1977 of file kateviewinternal.cpp.
bool KateViewInternal::tagLines | ( | KTextEditor::Cursor | start, | |
KTextEditor::Cursor | end, | |||
bool | realCursors = false | |||
) |
Definition at line 1999 of file kateviewinternal.cpp.
bool KateViewInternal::tagLines | ( | int | start, | |
int | end, | |||
bool | realLines = false | |||
) |
Definition at line 1994 of file kateviewinternal.cpp.
bool KateViewInternal::tagRange | ( | const KTextEditor::Range & | range, | |
bool | realCursors | |||
) |
Definition at line 2081 of file kateviewinternal.cpp.
void KateViewInternal::top | ( | bool | sel = false |
) |
Definition at line 1663 of file kateviewinternal.cpp.
void KateViewInternal::top_home | ( | bool | sel = false |
) |
Definition at line 1691 of file kateviewinternal.cpp.
void KateViewInternal::topOfView | ( | bool | sel = false |
) |
Definition at line 1496 of file kateviewinternal.cpp.
void KateViewInternal::updateDirty | ( | ) |
Definition at line 2859 of file kateviewinternal.cpp.
void KateViewInternal::updateRange | ( | KateSmartRange * | range | ) | [slot] |
Definition at line 3500 of file kateviewinternal.cpp.
KateView* KateViewInternal::view | ( | ) | [inline] |
Definition at line 137 of file kateviewinternal.h.
void KateViewInternal::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
void KateViewInternal::wordLeft | ( | bool | sel = false |
) |
Definition at line 1075 of file kateviewinternal.cpp.
void KateViewInternal::wordRight | ( | bool | sel = false |
) |
Definition at line 1118 of file kateviewinternal.cpp.
KateTextLayout KateViewInternal::yToKateTextLayout | ( | int | y | ) | const |
Definition at line 340 of file kateviewinternal.cpp.
The documentation for this class was generated from the following files: