aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppquickfixassistant.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2012-02-07 15:09:08 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2012-02-08 14:30:14 +0100
commitdbc3332b8e1442c0903e129586c08986ce752ff9 (patch)
treeec9b94df1464e6693c09fb6638a38a7095722386 /src/plugins/cppeditor/cppquickfixassistant.h
parentb64d103bfbe5fea3283e8a3c014f4a48dca3c482 (diff)
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 <leandro.melo@nokia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixassistant.h')
-rw-r--r--src/plugins/cppeditor/cppquickfixassistant.h6
1 files changed, 3 insertions, 3 deletions
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 <cpptools/cppsemanticinfo.h>
#include <ASTfwd.h>
#include <cplusplus/CppDocument.h>
@@ -59,7 +59,7 @@ public:
const QList<CPlusPlus::AST *> &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;