• 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 3673 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 3249 of file kateviewinternal.cpp.

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

Definition at line 2461 of file kateviewinternal.cpp.

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

Definition at line 2762 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 3326 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 3151 of file kateviewinternal.cpp.

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

Definition at line 3173 of file kateviewinternal.cpp.

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

Definition at line 3183 of file kateviewinternal.cpp.

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

Definition at line 3417 of file kateviewinternal.cpp.

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

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

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

Definition at line 3373 of file kateviewinternal.cpp.

void KateViewInternal::editStart (  ) 

Definition at line 3333 of file kateviewinternal.cpp.

void KateViewInternal::enableTextHints ( int  timeout  ) 

Definition at line 3319 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 2146 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 3114 of file kateviewinternal.cpp.

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

Definition at line 3127 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 2910 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 3732 of file kateviewinternal.cpp.

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

IM input stuff.

Definition at line 3692 of file kateviewinternal.cpp.

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

Definition at line 2263 of file kateviewinternal.cpp.

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

Definition at line 2430 of file kateviewinternal.cpp.

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

Definition at line 2757 of file kateviewinternal.cpp.

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

Definition at line 2602 of file kateviewinternal.cpp.

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

Definition at line 2777 of file kateviewinternal.cpp.

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

Definition at line 2489 of file kateviewinternal.cpp.

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

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

void KateViewInternal::prepareForDynWrapChange (  ) 

Definition at line 274 of file kateviewinternal.cpp.

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

Definition at line 3442 of file kateviewinternal.cpp.

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

Definition at line 3607 of file kateviewinternal.cpp.

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

Definition at line 3682 of file kateviewinternal.cpp.

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

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

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

Definition at line 1983 of file kateviewinternal.cpp.

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

Definition at line 2005 of file kateviewinternal.cpp.

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

Definition at line 2000 of file kateviewinternal.cpp.

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

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

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

Definition at line 3529 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 3255 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