summaryrefslogtreecommitdiff
path: root/src/gui/text/qsyntaxhighlighter.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-05-05 10:38:43 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-05-05 10:38:43 +0200
commitb220fcb1a88cba554335e15588590a1cdbb20db9 (patch)
tree7a07edb8dfc4a1528925f813dad896986e190267 /src/gui/text/qsyntaxhighlighter.h
parent7351a43560675def9aeab111aa5cd22891b74f72 (diff)
downloadqtbase-b220fcb1a88cba554335e15588590a1cdbb20db9.tar.gz
remove some dependencies to QTextEdit
QSyntaxHighlighter is now free of dependencies to QtWidgets. QTextImageHandler still needs some work to get the url resolving to work again.
Diffstat (limited to 'src/gui/text/qsyntaxhighlighter.h')
-rw-r--r--src/gui/text/qsyntaxhighlighter.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/text/qsyntaxhighlighter.h b/src/gui/text/qsyntaxhighlighter.h
index 9cd5778074..33006cdd9e 100644
--- a/src/gui/text/qsyntaxhighlighter.h
+++ b/src/gui/text/qsyntaxhighlighter.h
@@ -61,7 +61,6 @@ class QTextCharFormat;
class QFont;
class QColor;
class QTextBlockUserData;
-class QTextEdit;
class Q_GUI_EXPORT QSyntaxHighlighter : public QObject
{
@@ -70,7 +69,6 @@ class Q_GUI_EXPORT QSyntaxHighlighter : public QObject
public:
QSyntaxHighlighter(QObject *parent);
QSyntaxHighlighter(QTextDocument *parent);
- QSyntaxHighlighter(QTextEdit *parent);
virtual ~QSyntaxHighlighter();
void setDocument(QTextDocument *doc);