From dbc3332b8e1442c0903e129586c08986ce752ff9 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Tue, 7 Feb 2012 15:09:08 +0100 Subject: C++: Moved completion/highlighting into the model manager. This way the editor does not need to know all the details of instantiating or maintaining classes for highlighting and/or completion, it can just ask the model manager. The change also enables different highlighting- or completion-engines without changes to the cppeditor. Change-Id: I8000d9d9fe446b292defddb2295493cf77d0f14a Reviewed-by: Leandro Melo --- src/plugins/cppeditor/cppquickfixassistant.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/cppeditor/cppquickfixassistant.h') diff --git a/src/plugins/cppeditor/cppquickfixassistant.h b/src/plugins/cppeditor/cppquickfixassistant.h index 03bafe8b27..ca5bdd810f 100644 --- a/src/plugins/cppeditor/cppquickfixassistant.h +++ b/src/plugins/cppeditor/cppquickfixassistant.h @@ -33,7 +33,7 @@ #ifndef CPPQUICKFIXASSISTANT_H #define CPPQUICKFIXASSISTANT_H -#include "cppsemanticinfo.h" +#include #include #include @@ -59,7 +59,7 @@ public: const QList &path() const; CPlusPlus::Snapshot snapshot() const; - CppEditor::Internal::SemanticInfo semanticInfo() const; + CppTools::SemanticInfo semanticInfo() const; const CPlusPlus::LookupContext &context() const; CPPEditorWidget *editor() const; @@ -70,7 +70,7 @@ public: private: CPPEditorWidget *m_editor; - CppEditor::Internal::SemanticInfo m_semanticInfo; + CppTools::SemanticInfo m_semanticInfo; CPlusPlus::Snapshot m_snapshot; CppTools::CppRefactoringFilePtr m_currentFile; CPlusPlus::LookupContext m_context; -- cgit v1.2.3