• 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:
QWidget KTextEditor::SmartRangeWatcher

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

void KateViewInternal::bottom ( bool  sel = false  ) 

Definition at line 1687 of file kateviewinternal.cpp.

void KateViewInternal::bottom_end ( bool  sel = false  ) 

Definition at line 1712 of file kateviewinternal.cpp.

void KateViewInternal::bottomOfView ( bool  sel = false  ) 

Definition at line 1525 of file kateviewinternal.cpp.

void KateViewInternal::clear (  ) 

Definition at line 3251 of file kateviewinternal.cpp.

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

Definition at line 2483 of file kateviewinternal.cpp.

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

Definition at line 2764 of file kateviewinternal.cpp.

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

Definition at line 786 of file kateviewinternal.cpp.

void KateViewInternal::cursorDown ( bool  sel = false  ) 

Definition at line 1477 of file kateviewinternal.cpp.

void KateViewInternal::cursorLeft ( bool  sel = false  ) 

Definition at line 1100 of file kateviewinternal.cpp.

void KateViewInternal::cursorRight ( bool  sel = false  ) 

Definition at line 1108 of file kateviewinternal.cpp.

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

Definition at line 759 of file kateviewinternal.cpp.

void KateViewInternal::cursorToMatchingBracket ( bool  sel = false  ) 

Definition at line 1508 of file kateviewinternal.cpp.

void KateViewInternal::cursorUp ( bool  sel = false  ) 

Definition at line 1447 of file kateviewinternal.cpp.

void KateViewInternal::disableTextHints (  ) 

Definition at line 3328 of file kateviewinternal.cpp.

void KateViewInternal::doBackspace (  ) 

Definition at line 845 of file kateviewinternal.cpp.

void KateViewInternal::doDelete (  ) 

Definition at line 840 of file kateviewinternal.cpp.

void KateViewInternal::doDeleteWordLeft (  ) 

Definition at line 855 of file kateviewinternal.cpp.

void KateViewInternal::doDeleteWordRight (  ) 

Definition at line 866 of file kateviewinternal.cpp.

void KateViewInternal::doReturn (  ) 

Definition at line 814 of file kateviewinternal.cpp.

void KateViewInternal::doSmartNewline (  ) 

Definition at line 820 of file kateviewinternal.cpp.

void KateViewInternal::doTranspose (  ) 

Definition at line 850 of file kateviewinternal.cpp.

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

Definition at line 3153 of file kateviewinternal.cpp.

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

Definition at line 3175 of file kateviewinternal.cpp.

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

Definition at line 3185 of file kateviewinternal.cpp.

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

Definition at line 3419 of file kateviewinternal.cpp.

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

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

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

Definition at line 3375 of file kateviewinternal.cpp.

void KateViewInternal::editStart (  ) 

Definition at line 3335 of file kateviewinternal.cpp.

void KateViewInternal::enableTextHints ( int  timeout  ) 

Definition at line 3321 of file kateviewinternal.cpp.

void KateViewInternal::end ( bool  sel = false  ) 

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

KTextEditor::Cursor KateViewInternal::findMatchingBracket (  ) 

Definition at line 791 of file kateviewinternal.cpp.

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

Definition at line 3116 of file kateviewinternal.cpp.

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

Definition at line 3129 of file kateviewinternal.cpp.

KTextEditor::Cursor KateViewInternal::getCursor (  )  const

Definition at line 752 of file kateviewinternal.cpp.

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

Definition at line 2912 of file kateviewinternal.cpp.

void KateViewInternal::home ( bool  sel = false  ) 

Definition at line 1205 of file kateviewinternal.cpp.

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

Definition at line 3734 of file kateviewinternal.cpp.

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

IM input stuff.

Definition at line 3694 of file kateviewinternal.cpp.

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

Definition at line 2285 of file kateviewinternal.cpp.

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

Definition at line 2452 of file kateviewinternal.cpp.

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

Definition at line 2759 of file kateviewinternal.cpp.

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

Definition at line 2619 of file kateviewinternal.cpp.

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

Definition at line 2779 of file kateviewinternal.cpp.

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

Definition at line 2511 of file kateviewinternal.cpp.

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

Definition at line 2714 of file kateviewinternal.cpp.

void KateViewInternal::pageDown ( bool  sel = false  ) 

Definition at line 1606 of file kateviewinternal.cpp.

void KateViewInternal::pageUp ( bool  sel = false  ) 

Definition at line 1566 of file kateviewinternal.cpp.

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

Definition at line 2919 of file kateviewinternal.cpp.

void KateViewInternal::prepareForDynWrapChange (  ) 

Definition at line 274 of file kateviewinternal.cpp.

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

Definition at line 3444 of file kateviewinternal.cpp.

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

Definition at line 3609 of file kateviewinternal.cpp.

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

Definition at line 3684 of file kateviewinternal.cpp.

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

Definition at line 3000 of file kateviewinternal.cpp.

void KateViewInternal::scrollDown (  ) 

Definition at line 1552 of file kateviewinternal.cpp.

void KateViewInternal::scrollUp (  ) 

Definition at line 1546 of file kateviewinternal.cpp.

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

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

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

Definition at line 1999 of file kateviewinternal.cpp.

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

Definition at line 2021 of file kateviewinternal.cpp.

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

Definition at line 2016 of file kateviewinternal.cpp.

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

Definition at line 2103 of file kateviewinternal.cpp.

void KateViewInternal::top ( bool  sel = false  ) 

Definition at line 1674 of file kateviewinternal.cpp.

void KateViewInternal::top_home ( bool  sel = false  ) 

Definition at line 1700 of file kateviewinternal.cpp.

void KateViewInternal::topOfView ( bool  sel = false  ) 

Definition at line 1518 of file kateviewinternal.cpp.

void KateViewInternal::updateDirty (  ) 

Definition at line 2873 of file kateviewinternal.cpp.

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

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

void KateViewInternal::wordLeft ( bool  sel = false  ) 

Definition at line 1113 of file kateviewinternal.cpp.

void KateViewInternal::wordRight ( bool  sel = false  ) 

Definition at line 1156 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