KTextEditor
markinterface.h
358 virtual void markChanged(KTextEditor::Document *document, KTextEditor::Mark mark, KTextEditor::MarkInterface::MarkChangeAction action) = 0;
370 void markToolTipRequested(KTextEditor::Document *document, KTextEditor::Mark mark, QPoint position, bool &handled);
373 * The \p document emits this signal whenever the \p mark is right-clicked to show a context menu.
378 * \param handled set this to 'true' if this event was handled externally, and kate should not create an own context menu.
380 void markContextMenuRequested(KTextEditor::Document *document, KTextEditor::Mark mark, QPoint pos, bool &handled);
386 * \param handled set this to 'true' if this event was handled externally, and kate should not do own handling of the left click.
QIcon markIcon(MarkInterface::MarkTypes markType) const override
Get the mark's icon.
QPixmap markPixmap(MarkInterface::MarkTypes) const override
Get the mark's pixmap.
Mark extension interface for the Document, version 2.
Definition: markinterface.h:425
static int reservedMarkersCount()
Get the number of predefined mark types we have so far.
Definition: markinterface.h:197
const QHash< int, KTextEditor::Mark * > & marks() override
Get a hash holding all marks in the document.
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition: katetextblock.h:22
uint editableMarks() const override
Get, which marks can be toggled by the user.
QString markDescription(MarkInterface::MarkTypes) const override
Get the mark's description to text.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 03:53:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 03:53:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.