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

KTextEditor

KTextEditor::TextHintInterface

KTextEditor::TextHintInterface Class Reference
[View Extension Interfaces]

This is an interface for the KTextEditor::View class. More...

#include <texthintinterface.h>

List of all members.

Public Member Functions

virtual void disableTextHints ()=0
virtual void enableTextHints (int timeout)=0
virtual void needTextHint (const KTextEditor::Cursor &position, QString &text)=0
 TextHintInterface ()
virtual ~TextHintInterface ()

Detailed Description

This is an interface for the KTextEditor::View class.

Definition at line 36 of file texthintinterface.h.


Constructor & Destructor Documentation

TextHintInterface::TextHintInterface (  ) 

Definition at line 330 of file ktexteditor.cpp.

TextHintInterface::~TextHintInterface (  )  [virtual]

Definition at line 334 of file ktexteditor.cpp.


Member Function Documentation

virtual void KTextEditor::TextHintInterface::disableTextHints (  )  [pure virtual]

Disable texthints.

Per default they are disabled.

virtual void KTextEditor::TextHintInterface::enableTextHints ( int  timeout  )  [pure virtual]

enable Texthints.

If they are enabled a signal needTextHint is emitted, if the mouse changed the position and a new character is beneath the mouse cursor. The signal is delayed for a certain time, specifiedin the timeout parameter.

virtual void KTextEditor::TextHintInterface::needTextHint ( const KTextEditor::Cursor &  position,
QString &  text 
) [pure virtual]

emit this signal, if a tooltip text is needed for displaying.

I you don't want a tooltip to be displayd set text to an emtpy string in a connected slot, otherwise set text to the string you want the editor to display


The documentation for this class was generated from the following files:
  • texthintinterface.h
  • ktexteditor.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
  • 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