6 #ifndef QT3TEXTFORMATTER_H_
7 #define QT3TEXTFORMATTER_H_
11 #include <qsyntaxhighlighter.h>
13 #include <boost/shared_ptr.hpp>
15 #include "TextFormatter.h"
16 #include "Qt3SyntaxHighlighter.h"
18 namespace srchiliteqt {
20 typedef boost::shared_ptr<QFont> QFontPtr;
21 typedef boost::shared_ptr<QColor> QColorPtr;
53 QFont &getQFont()
const {
57 QColor &getQColor()
const {
61 virtual void setQSyntaxHighlighter(QSyntaxHighlighter *qSyntaxHighlighter_) {
71 void format(
const std::string &s,
const srchilite::FormatterParams *params);