diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-07-09 14:47:18 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-07-09 14:47:18 +0200 |
commit | 8acde74d79672137366258c79eb512a2fbcfac8e (patch) | |
tree | 529c21db030126365f775ac05857ebb48591e8cf /src/plugins/cppeditor/cpphighlighter.h | |
parent | 32993f460a4bb44b14964e5379f8c9036481aa93 (diff) |
Forked QSyntaxHighlighter from Qt 4.7.
We need our very own syntax highlighter in Qt Creator.
Diffstat (limited to 'src/plugins/cppeditor/cpphighlighter.h')
-rw-r--r-- | src/plugins/cppeditor/cpphighlighter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cpphighlighter.h b/src/plugins/cppeditor/cpphighlighter.h index 9d7c0496fc..d8fe769371 100644 --- a/src/plugins/cppeditor/cpphighlighter.h +++ b/src/plugins/cppeditor/cpphighlighter.h @@ -31,16 +31,17 @@ #define CPPHIGHLIGHTER_H #include "cppeditorenums.h" -#include <QtGui/QSyntaxHighlighter> +#include <texteditor/syntaxhighlighter.h> #include <QtGui/QTextCharFormat> #include <QtCore/QtAlgorithms> namespace CppEditor { + namespace Internal { class CPPEditor; -class CppHighlighter : public QSyntaxHighlighter +class CppHighlighter : public TextEditor::SyntaxHighlighter { Q_OBJECT |