• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

KateViewInternal Class Reference

#include <kateviewinternal.h>

Inheritance diagram for KateViewInternal:
Inheritance graph
[legend]

List of all members.

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 requestViewUpdateIfSmartDirty ()

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

enum KateViewInternal::Bias
Enumerator:
left 
none 
right 

Definition at line 67 of file kateviewinternal.h.


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 3666 of file kateviewinternal.cpp.

void KateViewInternal::bottom ( bool  sel = false  ) 

Definition at line 1680 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 1518 of file kateviewinternal.cpp.

void KateViewInternal::clear (  ) 

Definition at line 3242 of file kateviewinternal.cpp.

void KateViewInternal::contextMenuEvent ( QContextMenuEvent *  e  )  [protected]

Definition at line 2454 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::coordinatesToCursor ( const QPoint &  coord  )  const

Definition at line 2755 of file kateviewinternal.cpp.

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

Definition at line 779 of file kateviewinternal.cpp.

void KateViewInternal::cursorDown ( bool  sel = false  ) 

Definition at line 1470 of file kateviewinternal.cpp.

void KateViewInternal::cursorLeft ( bool  sel = false  ) 

Definition at line 1093 of file kateviewinternal.cpp.

void KateViewInternal::cursorRight ( bool  sel = false  ) 

Definition at line 1101 of file kateviewinternal.cpp.

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

Definition at line 752 of file kateviewinternal.cpp.

void KateViewInternal::cursorToMatchingBracket ( bool  sel = false  ) 

Definition at line 1501 of file kateviewinternal.cpp.

void KateViewInternal::cursorUp ( bool  sel = false  ) 

Definition at line 1440 of file kateviewinternal.cpp.

void KateViewInternal::disableTextHints (  ) 

Definition at line 3319 of file kateviewinternal.cpp.

void KateViewInternal::doBackspace (  ) 

Definition at line 838 of file kateviewinternal.cpp.

void KateViewInternal::doDelete (  ) 

Definition at line 833 of file kateviewinternal.cpp.

void KateViewInternal::doDeleteWordLeft (  ) 

Definition at line 848 of file kateviewinternal.cpp.

void KateViewInternal::doDeleteWordRight (  ) 

Definition at line 859 of file kateviewinternal.cpp.

void KateViewInternal::doReturn (  ) 

Definition at line 807 of file kateviewinternal.cpp.

void KateViewInternal::doSmartNewline (  ) 

Definition at line 813 of file kateviewinternal.cpp.

void KateViewInternal::doTranspose (  ) 

Definition at line 843 of file kateviewinternal.cpp.

void KateViewInternal::dragEnterEvent ( QDragEnterEvent *  event  )  [protected, virtual]

Definition at line 3144 of file kateviewinternal.cpp.

void KateViewInternal::dragMoveEvent ( QDragMoveEvent *  event  )  [protected, virtual]

Definition at line 3166 of file kateviewinternal.cpp.

void KateViewInternal::dropEvent ( QDropEvent *  event  )  [protected, virtual]

Definition at line 3176 of file kateviewinternal.cpp.

void KateViewInternal::dropEventPass ( QDropEvent *   )  [signal]
void KateViewInternal::dynamicHighlightAdded ( KateSmartRange *  range  )  [slot]

Definition at line 3410 of file kateviewinternal.cpp.

void KateViewInternal::dynamicHighlightRemoved ( KateSmartRange *  range  )  [slot]

Definition at line 3426 of file kateviewinternal.cpp.

void KateViewInternal::dynWrapChanged (  ) 

Definition at line 281 of file kateviewinternal.cpp.

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

Definition at line 3337 of file kateviewinternal.cpp.

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

Definition at line 3366 of file kateviewinternal.cpp.

void KateViewInternal::editStart (  ) 

Definition at line 3326 of file kateviewinternal.cpp.

void KateViewInternal::enableTextHints ( int  timeout  ) 

Definition at line 3312 of file kateviewinternal.cpp.

void KateViewInternal::end ( bool  sel = false  ) 

Definition at line 1233 of file kateviewinternal.cpp.

int KateViewInternal::endLine (  )  const

Definition at line 340 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::endPos (  )  const

Definition at line 315 of file kateviewinternal.cpp.

bool KateViewInternal::eventFilter ( QObject *  obj,
QEvent *  e 
) [protected, virtual]

Definition at line 2139 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::findMatchingBracket (  ) 

Definition at line 784 of file kateviewinternal.cpp.

void KateViewInternal::focusInEvent ( QFocusEvent *   )  [protected, virtual]

Definition at line 3107 of file kateviewinternal.cpp.

void KateViewInternal::focusOutEvent ( QFocusEvent *   )  [protected, virtual]

Definition at line 3120 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::getCursor (  )  const

Definition at line 745 of file kateviewinternal.cpp.

void KateViewInternal::hideEvent ( QHideEvent *  e  )  [protected, virtual]

Definition at line 2903 of file kateviewinternal.cpp.

void KateViewInternal::home ( bool  sel = false  ) 

Definition at line 1198 of file kateviewinternal.cpp.

void KateViewInternal::inputMethodEvent ( QInputMethodEvent *  e  )  [protected, virtual]

Definition at line 3725 of file kateviewinternal.cpp.

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

IM input stuff.

Definition at line 3685 of file kateviewinternal.cpp.

void KateViewInternal::keyPressEvent ( QKeyEvent *  e  )  [protected, virtual]

Definition at line 2256 of file kateviewinternal.cpp.

void KateViewInternal::keyReleaseEvent ( QKeyEvent *  e  )  [protected, virtual]

Definition at line 2423 of file kateviewinternal.cpp.

void KateViewInternal::leaveEvent ( QEvent *   )  [protected, virtual]

Definition at line 2750 of file kateviewinternal.cpp.

void KateViewInternal::mouseDoubleClickEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 2595 of file kateviewinternal.cpp.

void KateViewInternal::mouseMoveEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 2770 of file kateviewinternal.cpp.

void KateViewInternal::mousePressEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 2482 of file kateviewinternal.cpp.

void KateViewInternal::mouseReleaseEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 2698 of file kateviewinternal.cpp.

void KateViewInternal::pageDown ( bool  sel = false  ) 

Definition at line 1599 of file kateviewinternal.cpp.

void KateViewInternal::pageUp ( bool  sel = false  ) 

Definition at line 1559 of file kateviewinternal.cpp.

void KateViewInternal::paintEvent ( QPaintEvent *  e  )  [protected, virtual]

Definition at line 2910 of file kateviewinternal.cpp.

void KateViewInternal::prepareForDynWrapChange (  ) 

Definition at line 274 of file kateviewinternal.cpp.

void KateViewInternal::rangeDeleted ( KateSmartRange *  range  )  [slot]

Definition at line 3435 of file kateviewinternal.cpp.

void KateViewInternal::relayoutRange ( const KTextEditor::Range &  range,
bool  realCursors = true 
)

Definition at line 3600 of file kateviewinternal.cpp.

void KateViewInternal::removeHighlightRange ( KTextEditor::SmartRange *  range  ) 

Definition at line 3675 of file kateviewinternal.cpp.

void KateViewInternal::requestViewUpdateIfSmartDirty (  )  [signal]
void KateViewInternal::resizeEvent ( QResizeEvent *  e  )  [protected, virtual]

Definition at line 2991 of file kateviewinternal.cpp.

void KateViewInternal::scrollDown (  ) 

Definition at line 1545 of file kateviewinternal.cpp.

void KateViewInternal::scrollUp (  ) 

Definition at line 1539 of file kateviewinternal.cpp.

void KateViewInternal::showEvent ( QShowEvent *  e  )  [protected, virtual]

Definition at line 728 of file kateviewinternal.cpp.

void KateViewInternal::slotDecFontSizes (  )  [slot]

Definition at line 371 of file kateviewinternal.cpp.

void KateViewInternal::slotIncFontSizes (  )  [slot]

Definition at line 366 of file kateviewinternal.cpp.

int KateViewInternal::startLine (  )  const [inline]

Definition at line 129 of file kateviewinternal.h.

const KTextEditor::Cursor& KateViewInternal::startPos (  )  const [inline]

Definition at line 128 of file kateviewinternal.h.

int KateViewInternal::startX (  )  const [inline]

Definition at line 130 of file kateviewinternal.h.

void KateViewInternal::tagAll (  ) 

Definition at line 2085 of file kateviewinternal.cpp.

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

Definition at line 1976 of file kateviewinternal.cpp.

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

Definition at line 1998 of file kateviewinternal.cpp.

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

Definition at line 1993 of file kateviewinternal.cpp.

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

Definition at line 2080 of file kateviewinternal.cpp.

void KateViewInternal::top ( bool  sel = false  ) 

Definition at line 1667 of file kateviewinternal.cpp.

void KateViewInternal::top_home ( bool  sel = false  ) 

Definition at line 1693 of file kateviewinternal.cpp.

void KateViewInternal::topOfView ( bool  sel = false  ) 

Definition at line 1511 of file kateviewinternal.cpp.

void KateViewInternal::updateDirty (  ) 

Definition at line 2864 of file kateviewinternal.cpp.

void KateViewInternal::updateRange ( KateSmartRange *  range  )  [slot]

Definition at line 3522 of file kateviewinternal.cpp.

KateView* KateViewInternal::view (  )  [inline]

Definition at line 140 of file kateviewinternal.h.

void KateViewInternal::wheelEvent ( QWheelEvent *  e  )  [protected, virtual]

Definition at line 3248 of file kateviewinternal.cpp.

void KateViewInternal::wordLeft ( bool  sel = false  ) 

Definition at line 1106 of file kateviewinternal.cpp.

void KateViewInternal::wordRight ( bool  sel = false  ) 

Definition at line 1149 of file kateviewinternal.cpp.

KateTextLayout KateViewInternal::yToKateTextLayout ( int  y  )  const

Definition at line 345 of file kateviewinternal.cpp.


The documentation for this class was generated from the following files:
  • kateviewinternal.h
  • kateviewinternal.cpp

Kate

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal