KTextEditor
#include <texthintinterface.h>
Public Member Functions | |
TextHintInterface () | |
virtual | ~TextHintInterface () |
virtual void | disableTextHints ()=0 |
virtual void | enableTextHints (int timeout)=0 |
virtual void | needTextHint (const KTextEditor::Cursor &position, QString &text)=0 |
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 273 of file ktexteditor.cpp.
|
virtual |
Definition at line 277 of file ktexteditor.cpp.
Member Function Documentation
|
pure virtual |
Disable texthints.
Per default they are disabled.
|
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.
|
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:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Jun 9 2014 22:03:32 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.