aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/semantichighlighter.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-22 18:43:31 +0200
committerhjk <hjk121@nokiamail.com>2014-09-25 18:00:51 +0200
commit0fcca946adbc17ee6f911a5891e9c5dc11631288 (patch)
tree1c2fe74498b7eb123f908d408b8ff3bfc4fea12e /src/plugins/cpptools/semantichighlighter.cpp
parent33670d22f7a133d1b2a495a123ff36fc31daebe1 (diff)
Rename {Core,TextEditor},{Base,}TextDocument classes
First step of some more 'Base' removal in TextEditor. s/Core::TextDocument/Core::BaseTextDocument/ s/TextEditor::BaseTextDocument/TextEditor::TextDocument/ Change-Id: I71ba325a2f0ad72ec9dae0d96846cbae72d326f7 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/cpptools/semantichighlighter.cpp')
-rw-r--r--src/plugins/cpptools/semantichighlighter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/semantichighlighter.cpp b/src/plugins/cpptools/semantichighlighter.cpp
index c39630d966a..8f592525983 100644
--- a/src/plugins/cpptools/semantichighlighter.cpp
+++ b/src/plugins/cpptools/semantichighlighter.cpp
@@ -42,14 +42,14 @@ using TextEditor::SemanticHighlighter::clearExtraAdditionalFormatsUntilEnd;
namespace CppTools {
-SemanticHighlighter::SemanticHighlighter(TextEditor::BaseTextDocument *baseTextDocument)
+SemanticHighlighter::SemanticHighlighter(TextEditor::TextDocument *baseTextDocument)
: QObject(baseTextDocument)
, m_baseTextDocument(baseTextDocument)
, m_revision(0)
{
QTC_CHECK(m_baseTextDocument);
- connect(baseTextDocument, &TextEditor::BaseTextDocument::fontSettingsChanged,
+ connect(baseTextDocument, &TextEditor::TextDocument::fontSettingsChanged,
this, &SemanticHighlighter::onDocumentFontSettingsChanged);
updateFormatMapFromFontSettings();