• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
KateViewInternal Class Reference

#include <kateviewinternal.h>

Inheritance diagram for KateViewInternal:
Inheritance graph
[legend]

Public Types

enum  Bias { left = -1, none = 0, right = 1 }
 

Public Slots

void slotDecFontSizes ()
 
void slotIncFontSizes ()
 

Signals

void dropEventPass (QDropEvent *)
 

Public Member Functions

 KateViewInternal (KateView *view)
 
 ~KateViewInternal ()
 
void bottom (bool sel=false)
 
void bottom_end (bool sel=false)
 
void bottomOfView (bool sel=false)
 
void clear ()
 
KTextEditor::Cursor coordinatesToCursor (const QPoint &coord, bool includeBorder=true) const
 
QPoint cursorCoordinates (bool includeBorder=true) const
 
void cursorDown (bool sel=false)
 
void cursorNextChar (bool sel=false)
 
void cursorPrevChar (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 doDeleteNextWord ()
 
void doDeletePrevWord ()
 
void doReturn ()
 
void doSmartNewline ()
 
void doTabulator ()
 
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
 
KTextEditor::Cursor getMouse () const
 
void home (bool sel=false)
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
 
void pageDown (bool sel=false, bool half=false)
 
void pageUp (bool sel=false, bool half=false)
 
void prepareForDynWrapChange ()
 
void scrollDown ()
 
void scrollUp ()
 
void setCaretStyle (KateRenderer::caretStyles style, bool repaint=false)
 
int startLine () const
 
KTextEditor::Cursor startPos () const
 
int startX () const
 
void tagAll ()
 
bool tagLine (const KTextEditor::Cursor &virtualCursor)
 
bool tagLines (int start, int end, bool realLines=false)
 
bool tagLines (KTextEditor::Cursor start, KTextEditor::Cursor end, bool realCursors=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 () const
 
void wordNext (bool sel=false)
 
void wordPrev (bool sel=false)
 
KateTextLayout yToKateTextLayout (int y) const
 

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 57 of file kateviewinternal.h.

Member Enumeration Documentation

enum KateViewInternal::Bias
Enumerator
left 
none 
right 

Definition at line 70 of file kateviewinternal.h.

Constructor & Destructor Documentation

KateViewInternal::KateViewInternal ( KateView *  view)

Definition at line 61 of file kateviewinternal.cpp.

KateViewInternal::~KateViewInternal ( )

Definition at line 221 of file kateviewinternal.cpp.

Member Function Documentation

void KateViewInternal::bottom ( bool  sel = false)

Definition at line 1632 of file kateviewinternal.cpp.

void KateViewInternal::bottom_end ( bool  sel = false)

Definition at line 1654 of file kateviewinternal.cpp.

void KateViewInternal::bottomOfView ( bool  sel = false)

Definition at line 1473 of file kateviewinternal.cpp.

void KateViewInternal::clear ( )

Definition at line 3205 of file kateviewinternal.cpp.

void KateViewInternal::contextMenuEvent ( QContextMenuEvent *  e)
protected

Definition at line 2433 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::coordinatesToCursor ( const QPoint &  coord,
bool  includeBorder = true 
) const

Definition at line 2736 of file kateviewinternal.cpp.

QPoint KateViewInternal::cursorCoordinates ( bool  includeBorder = true) const

Definition at line 737 of file kateviewinternal.cpp.

void KateViewInternal::cursorDown ( bool  sel = false)

Definition at line 1429 of file kateviewinternal.cpp.

void KateViewInternal::cursorNextChar ( bool  sel = false)

Definition at line 1069 of file kateviewinternal.cpp.

void KateViewInternal::cursorPrevChar ( bool  sel = false)

Definition at line 1061 of file kateviewinternal.cpp.

QPoint KateViewInternal::cursorToCoordinate ( const KTextEditor::Cursor &  cursor,
bool  realCursor = true,
bool  includeBorder = true 
) const

Definition at line 712 of file kateviewinternal.cpp.

void KateViewInternal::cursorToMatchingBracket ( bool  sel = false)

Definition at line 1456 of file kateviewinternal.cpp.

void KateViewInternal::cursorUp ( bool  sel = false)

Definition at line 1402 of file kateviewinternal.cpp.

void KateViewInternal::disableTextHints ( )

Definition at line 3304 of file kateviewinternal.cpp.

void KateViewInternal::doBackspace ( )

Definition at line 796 of file kateviewinternal.cpp.

void KateViewInternal::doDelete ( )

Definition at line 791 of file kateviewinternal.cpp.

void KateViewInternal::doDeleteNextWord ( )

Definition at line 822 of file kateviewinternal.cpp.

void KateViewInternal::doDeletePrevWord ( )

Definition at line 811 of file kateviewinternal.cpp.

void KateViewInternal::doReturn ( )

Definition at line 765 of file kateviewinternal.cpp.

void KateViewInternal::doSmartNewline ( )

Definition at line 771 of file kateviewinternal.cpp.

void KateViewInternal::doTabulator ( )

Definition at line 801 of file kateviewinternal.cpp.

void KateViewInternal::doTranspose ( )

Definition at line 806 of file kateviewinternal.cpp.

void KateViewInternal::dragEnterEvent ( QDragEnterEvent *  event)
protectedvirtual

Definition at line 3097 of file kateviewinternal.cpp.

void KateViewInternal::dragMoveEvent ( QDragMoveEvent *  event)
protectedvirtual

Definition at line 3119 of file kateviewinternal.cpp.

void KateViewInternal::dropEvent ( QDropEvent *  event)
protectedvirtual

Definition at line 3129 of file kateviewinternal.cpp.

void KateViewInternal::dropEventPass ( QDropEvent *  )
signal
void KateViewInternal::dynWrapChanged ( )

Definition at line 247 of file kateviewinternal.cpp.

void KateViewInternal::editEnd ( int  editTagLineStart,
int  editTagLineEnd,
bool  tagFrom 
)

selection changed? fixes bug 316226

Definition at line 3325 of file kateviewinternal.cpp.

void KateViewInternal::editSetCursor ( const KTextEditor::Cursor &  cursor)

Definition at line 3379 of file kateviewinternal.cpp.

void KateViewInternal::editStart ( )

Definition at line 3313 of file kateviewinternal.cpp.

void KateViewInternal::enableTextHints ( int  timeout)

Definition at line 3293 of file kateviewinternal.cpp.

void KateViewInternal::end ( bool  sel = false)

Definition at line 1201 of file kateviewinternal.cpp.

int KateViewInternal::endLine ( ) const

Definition at line 301 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::endPos ( ) const

Definition at line 279 of file kateviewinternal.cpp.

bool KateViewInternal::eventFilter ( QObject *  obj,
QEvent *  e 
)
protectedvirtual

Definition at line 2110 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::findMatchingBracket ( )

Definition at line 742 of file kateviewinternal.cpp.

void KateViewInternal::focusInEvent ( QFocusEvent *  )
protectedvirtual

Definition at line 3060 of file kateviewinternal.cpp.

void KateViewInternal::focusOutEvent ( QFocusEvent *  )
protectedvirtual

Definition at line 3073 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::getCursor ( ) const
inline

Definition at line 190 of file kateviewinternal.h.

KTextEditor::Cursor KateViewInternal::getMouse ( ) const
inline

Definition at line 191 of file kateviewinternal.h.

void KateViewInternal::hideEvent ( QHideEvent *  e)
protectedvirtual

Definition at line 2876 of file kateviewinternal.cpp.

void KateViewInternal::home ( bool  sel = false)

Definition at line 1166 of file kateviewinternal.cpp.

void KateViewInternal::inputMethodEvent ( QInputMethodEvent *  e)
protectedvirtual

Definition at line 3505 of file kateviewinternal.cpp.

QVariant KateViewInternal::inputMethodQuery ( Qt::InputMethodQuery  query) const
virtual

IM input stuff.

Definition at line 3460 of file kateviewinternal.cpp.

void KateViewInternal::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

Definition at line 2232 of file kateviewinternal.cpp.

void KateViewInternal::keyReleaseEvent ( QKeyEvent *  e)
protectedvirtual

Definition at line 2402 of file kateviewinternal.cpp.

void KateViewInternal::leaveEvent ( QEvent *  )
protectedvirtual

Definition at line 2726 of file kateviewinternal.cpp.

void KateViewInternal::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 2586 of file kateviewinternal.cpp.

void KateViewInternal::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 2752 of file kateviewinternal.cpp.

void KateViewInternal::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 2462 of file kateviewinternal.cpp.

void KateViewInternal::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 2681 of file kateviewinternal.cpp.

void KateViewInternal::pageDown ( bool  sel = false,
bool  half = false 
)

Definition at line 1555 of file kateviewinternal.cpp.

void KateViewInternal::pageUp ( bool  sel = false,
bool  half = false 
)

Definition at line 1513 of file kateviewinternal.cpp.

void KateViewInternal::paintEvent ( QPaintEvent *  e)
protectedvirtual

Definition at line 2883 of file kateviewinternal.cpp.

void KateViewInternal::prepareForDynWrapChange ( )

Definition at line 241 of file kateviewinternal.cpp.

void KateViewInternal::resizeEvent ( QResizeEvent *  e)
protectedvirtual

Definition at line 2965 of file kateviewinternal.cpp.

void KateViewInternal::scrollDown ( )

Definition at line 1499 of file kateviewinternal.cpp.

void KateViewInternal::scrollUp ( )

Definition at line 1493 of file kateviewinternal.cpp.

void KateViewInternal::setCaretStyle ( KateRenderer::caretStyles  style,
bool  repaint = false 
)

Set the caret's style.

The caret can be a box or a line; see the documentation of KateRenderer::caretStyles for other options.

Parameters
stylethe caret style
repaintwhether to update the caret instantly. This also resets the caret's timer.

Definition at line 1804 of file kateviewinternal.cpp.

void KateViewInternal::showEvent ( QShowEvent *  e)
protectedvirtual

Definition at line 693 of file kateviewinternal.cpp.

void KateViewInternal::slotDecFontSizes ( )
slot

Definition at line 331 of file kateviewinternal.cpp.

void KateViewInternal::slotIncFontSizes ( )
slot

Definition at line 325 of file kateviewinternal.cpp.

int KateViewInternal::startLine ( ) const
inline

Definition at line 125 of file kateviewinternal.h.

KTextEditor::Cursor KateViewInternal::startPos ( ) const
inline

Definition at line 124 of file kateviewinternal.h.

int KateViewInternal::startX ( ) const
inline

Definition at line 126 of file kateviewinternal.h.

void KateViewInternal::tagAll ( )

Definition at line 2056 of file kateviewinternal.cpp.

bool KateViewInternal::tagLine ( const KTextEditor::Cursor &  virtualCursor)

Definition at line 1949 of file kateviewinternal.cpp.

bool KateViewInternal::tagLines ( int  start,
int  end,
bool  realLines = false 
)

Definition at line 1965 of file kateviewinternal.cpp.

bool KateViewInternal::tagLines ( KTextEditor::Cursor  start,
KTextEditor::Cursor  end,
bool  realCursors = false 
)

Definition at line 1970 of file kateviewinternal.cpp.

bool KateViewInternal::tagRange ( const KTextEditor::Range &  range,
bool  realCursors 
)

Definition at line 2051 of file kateviewinternal.cpp.

void KateViewInternal::top ( bool  sel = false)

Definition at line 1622 of file kateviewinternal.cpp.

void KateViewInternal::top_home ( bool  sel = false)

Definition at line 1642 of file kateviewinternal.cpp.

void KateViewInternal::topOfView ( bool  sel = false)

Definition at line 1466 of file kateviewinternal.cpp.

void KateViewInternal::updateDirty ( )

Definition at line 2839 of file kateviewinternal.cpp.

KateView* KateViewInternal::view ( ) const
inline

Definition at line 80 of file kateviewinternal.h.

void KateViewInternal::wheelEvent ( QWheelEvent *  e)
protectedvirtual

Definition at line 3214 of file kateviewinternal.cpp.

void KateViewInternal::wordNext ( bool  sel = false)

Definition at line 1117 of file kateviewinternal.cpp.

void KateViewInternal::wordPrev ( bool  sel = false)

Definition at line 1074 of file kateviewinternal.cpp.

KateTextLayout KateViewInternal::yToKateTextLayout ( int  y) const

Definition at line 306 of file kateviewinternal.cpp.


The documentation for this class was generated from the following files:
  • kateviewinternal.h
  • kateviewinternal.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal