aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditor.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-07-04 18:10:07 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-07-04 16:19:14 +0000
commite8dfe2f91d9a123517b94dc7fef5ab37e07c7331 (patch)
treed881be6ba510f01f059eab6eaef7464d6eb820a1 /src/plugins/texteditor/texteditor.h
parentf257e3fe9516944dc6a00a4d23ba4d72d5c0a437 (diff)
Fix namespaced build
Change-Id: Idf7716093c0fdaeb494d9427a894a4ea44cab95a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditor.h')
-rw-r--r--src/plugins/texteditor/texteditor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h
index 1613de4ed0..0c2e83e1e8 100644
--- a/src/plugins/texteditor/texteditor.h
+++ b/src/plugins/texteditor/texteditor.h
@@ -672,6 +672,10 @@ private:
} // namespace TextEditor
+QT_BEGIN_NAMESPACE
+
uint qHash(const QColor &color);
+QT_END_NAMESPACE
+
Q_DECLARE_METATYPE(TextEditor::TextEditorWidget::Link)