umbrello/umbrello
CodeTextHighlighter Class Reference
#include <codetexthighlighter.h>
Inheritance diagram for CodeTextHighlighter:
Public Member Functions | |
CodeTextHighlighter (QTextDocument *parent=0) | |
Protected Member Functions | |
void | highlightBlock (const QString &text) |
Detailed Description
Definition at line 34 of file codetexthighlighter.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Creates the highlighting rule by calling the function keywords().
- Parameters
-
parent the parent QTextDocument
Definition at line 36 of file codetexthighlighter.cpp.
Member Function Documentation
|
protected |
Does highlighting the code block.
- Parameters
-
text the code block to highlight
Definition at line 83 of file codetexthighlighter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.