#include <TextFormatter.h>
Inherited by srchiliteqt::Qt3TextFormatter, and srchiliteqt::Qt4TextFormatter.
Public Member Functions | |
TextFormatter (const std::string &elem_="normal") | |
const std::string & | getElem () const |
virtual void | setQSyntaxHighlighter (QSyntaxHighlighter *qSyntaxHighlighter_)=0 |
Protected Attributes | |
std::string | elem |
the language element represented by this formatter |
Note that the abstract method setQSyntaxHighlighter(QSyntaxHighlighter *). Since this header file does not include the header file for QSyntaxHighlighter, then this same class can be re-used both for Qt3 and for Qt4 (the subclasses of this class will include the correct header file for QSyntaxHighlighter).
const std::string& srchiliteqt::TextFormatter::getElem | ( | ) | const [inline] |