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/vcsbase/diffhighlighter.h | |
parent | 32993f460a4bb44b14964e5379f8c9036481aa93 (diff) | |
download | qt-creator-8acde74d79672137366258c79eb512a2fbcfac8e.tar.gz |
Forked QSyntaxHighlighter from Qt 4.7.
We need our very own syntax highlighter in Qt Creator.
Diffstat (limited to 'src/plugins/vcsbase/diffhighlighter.h')
-rw-r--r-- | src/plugins/vcsbase/diffhighlighter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/vcsbase/diffhighlighter.h b/src/plugins/vcsbase/diffhighlighter.h index a1a9c3d082..346b87ea3d 100644 --- a/src/plugins/vcsbase/diffhighlighter.h +++ b/src/plugins/vcsbase/diffhighlighter.h @@ -31,8 +31,7 @@ #define DIFFHIGHLIGHTER_H #include "vcsbase_global.h" - -#include <QtGui/QSyntaxHighlighter> +#include <texteditor/syntaxhighlighter.h> #include <QtGui/QTextCharFormat> #include <QtCore/QVector> @@ -66,7 +65,7 @@ struct DiffHighlighterPrivate; * \endcode * */ -class VCSBASE_EXPORT DiffHighlighter : public QSyntaxHighlighter +class VCSBASE_EXPORT DiffHighlighter : public TextEditor::SyntaxHighlighter { Q_OBJECT public: |