aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/glsleditor/glslhighlighter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/glsleditor/glslhighlighter.h')
-rw-r--r--src/plugins/glsleditor/glslhighlighter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/glsleditor/glslhighlighter.h b/src/plugins/glsleditor/glslhighlighter.h
index 8ff179e430..215e44b23c 100644
--- a/src/plugins/glsleditor/glslhighlighter.h
+++ b/src/plugins/glsleditor/glslhighlighter.h
@@ -36,7 +36,7 @@
#include <texteditor/syntaxhighlighter.h>
namespace GLSLEditor {
-class GLSLTextEditor;
+class GLSLTextEditorWidget;
namespace Internal {
@@ -61,7 +61,7 @@ public:
NumGLSLFormats
};
- explicit Highlighter(GLSLTextEditor *editor, QTextDocument *parent);
+ explicit Highlighter(GLSLTextEditorWidget *editor, QTextDocument *parent);
virtual ~Highlighter();
void setFormats(const QVector<QTextCharFormat> &formats);
@@ -73,7 +73,7 @@ protected:
private:
QTextCharFormat m_formats[NumGLSLFormats];
- GLSLTextEditor *m_editor;
+ GLSLTextEditorWidget *m_editor;
};
} // namespace Internal