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

KTextEditor

  • KTextEditor
  • MovingRangeFeedback
Public Member Functions

KTextEditor::MovingRangeFeedback Class Reference
MovingCursors and MovingRanges

A class which provides notifications of state changes to a MovingRange. More...

#include <movingrangefeedback.h>

List of all members.

Public Member Functions

 MovingRangeFeedback ()
virtual ~MovingRangeFeedback ()
virtual void caretEnteredRange (MovingRange *range, View *view)
virtual void caretExitedRange (MovingRange *range, View *view)
virtual void mouseEnteredRange (MovingRange *range, View *view)
virtual void mouseExitedRange (MovingRange *range, View *view)
virtual void rangeEmpty (MovingRange *range)
virtual void rangeInvalid (MovingRange *range)

Detailed Description

A class which provides notifications of state changes to a MovingRange.

This class provides notifications of changes to the position or contents of a MovingRange.

Before destruction, you must unregister the feedback class from any range using it.

Author:
Christoph Cullmann <cullmann@kde.org>
Since:
4.5

Definition at line 48 of file movingrangefeedback.h.


Constructor & Destructor Documentation

MovingRangeFeedback::MovingRangeFeedback ( )

Default constructor.

Definition at line 28 of file movingrangefeedback.cpp.

MovingRangeFeedback::~MovingRangeFeedback ( ) [virtual]

Virtual destructor.

Definition at line 33 of file movingrangefeedback.cpp.


Member Function Documentation

void MovingRangeFeedback::caretEnteredRange ( MovingRange *  range,
View *  view 
) [virtual]

The caret on view entered range.

Parameters:
rangepointer to the range which generated the notification.
viewview over which the mouse moved to generate the notification

Definition at line 53 of file movingrangefeedback.cpp.

void MovingRangeFeedback::caretExitedRange ( MovingRange *  range,
View *  view 
) [virtual]

The caret on view exited range.

Parameters:
rangepointer to the range which generated the notification.
viewview over which the mouse moved to generate the notification

Definition at line 57 of file movingrangefeedback.cpp.

void MovingRangeFeedback::mouseEnteredRange ( MovingRange *  range,
View *  view 
) [virtual]

The mouse cursor on view entered range.

Parameters:
rangepointer to the range which generated the notification.
viewview over which the mouse moved to generate the notification

Definition at line 45 of file movingrangefeedback.cpp.

void MovingRangeFeedback::mouseExitedRange ( MovingRange *  range,
View *  view 
) [virtual]

The mouse cursor on view exited range.

Parameters:
rangepointer to the range which generated the notification.
viewview over which the mouse moved to generate the notification

Definition at line 49 of file movingrangefeedback.cpp.

void MovingRangeFeedback::rangeEmpty ( MovingRange *  range) [virtual]

The range is now empty (ie.

the start and end cursors are the same). If the range has invalidateIfEmpty set, this will never be emitted, but instead rangeInvalid is triggered. You may delete the range inside this method, but don't alter the range here (for example by using setRange).

Parameters:
rangepointer to the range which generated the notification.

Definition at line 37 of file movingrangefeedback.cpp.

void MovingRangeFeedback::rangeInvalid ( MovingRange *  range) [virtual]

The range is now invalid (ie.

the start and end cursors are invalid). You may delete the range inside this method, but don't alter the range here (for example by using setRange).

Parameters:
rangepointer to the range which generated the notification.

Definition at line 41 of file movingrangefeedback.cpp.


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

KTextEditor

Skip menu "KTextEditor"
  • Main Page
  • Modules
  • 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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