• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

interfaces/ktexteditor

KTextEditor::TextHintInterface

KTextEditor::TextHintInterface Class Reference

#include <texthintinterface.h>

List of all members.


Detailed Description

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

Definition at line 34 of file texthintinterface.h.


Public Member Functions

virtual void enableTextHints (int timeout)=0
virtual void disableTextHints ()=0
unsigned int textHintInterfaceNumber () const
virtual void needTextHint (int line, int col, QString &text)=0

Friends

class PrivateTextHintInterface

Member Function Documentation

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::disableTextHints (  )  [pure virtual]

Disable texthints.

Per default they are disabled.

unsigned int KTextEditor::TextHintInterface::textHintInterfaceNumber (  )  const

This method returns a number, unique during one application run.

Definition at line 50 of file texthintinterface.cpp.

virtual void KTextEditor::TextHintInterface::needTextHint ( int  line,
int  col,
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
  • texthintinterface.cpp

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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