summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppfunctiondecldeflink.cpp
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/cppfunctiondecldeflink.cpp
parentb64d103bfbe5fea3283e8a3c014f4a48dca3c482 (diff)
downloadqt-creator-dbc3332b8e1442c0903e129586c08986ce752ff9.tar.gz
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/cppfunctiondecldeflink.cpp')
-rw-r--r--src/plugins/cppeditor/cppfunctiondecldeflink.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppfunctiondecldeflink.cpp b/src/plugins/cppeditor/cppfunctiondecldeflink.cpp
index a39ba82bd0..3c79791d36 100644
--- a/src/plugins/cppeditor/cppfunctiondecldeflink.cpp
+++ b/src/plugins/cppeditor/cppfunctiondecldeflink.cpp
@@ -34,7 +34,6 @@
#include "cppeditor.h"
#include "cppquickfixassistant.h"
-#include "cpplocalsymbols.h"
#include <cplusplus/CppRewriter.h>
#include <cplusplus/ASTPath.h>
@@ -44,6 +43,7 @@
#include <cplusplus/TranslationUnit.h>
#include <cplusplus/LookupContext.h>
#include <cplusplus/Overview.h>
+#include <cpptools/cpplocalsymbols.h>
#include <cpptools/cpprefactoringchanges.h>
#include <cpptools/symbolfinder.h>
#include <texteditor/refactoroverlay.h>
@@ -61,6 +61,7 @@
using namespace CPlusPlus;
using namespace CppEditor;
using namespace CppEditor::Internal;
+using namespace CppTools;
FunctionDeclDefLinkFinder::FunctionDeclDefLinkFinder(QObject *parent)
: QObject(parent)