aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/cppcompletionassist.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2014-07-30 16:29:02 +0200
committerErik Verbruggen <erik.verbruggen@digia.com>2014-08-20 10:26:47 +0200
commitb8a6a4dd4e2a02d9afd54303550570f1fcbcb586 (patch)
tree51472b8c5c73e17900b78c65ce7286f9cd9b8eb5 /src/plugins/cpptools/cppcompletionassist.h
parent077bbf6803d4f3d81622720c9452a7e1a00c81fb (diff)
CppTools: Move WorkingCopy to new cppworkingcopy.{h,cpp}
Change-Id: I447acf28849bffb52c1e6b6eafdde221ec0b179e Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcompletionassist.h')
-rw-r--r--src/plugins/cpptools/cppcompletionassist.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppcompletionassist.h b/src/plugins/cpptools/cppcompletionassist.h
index 4ecabc9811..a63ca76ad4 100644
--- a/src/plugins/cpptools/cppcompletionassist.h
+++ b/src/plugins/cpptools/cppcompletionassist.h
@@ -32,6 +32,7 @@
#include "cppcompletionassistprovider.h"
#include "cppmodelmanagerinterface.h"
+#include "cppworkingcopy.h"
#include <cplusplus/Icons.h>
#include <cplusplus/TypeOfExpression.h>
@@ -177,7 +178,7 @@ public:
bool isObjCEnabled,
int position,
TextEditor::AssistReason reason,
- const CppModelManagerInterface::WorkingCopy &workingCopy)
+ const WorkingCopy &workingCopy)
: TextEditor::DefaultAssistInterface(textDocument, position, editor->document()->filePath(),
reason)
, m_editor(editor)
@@ -212,7 +213,7 @@ private:
TextEditor::BaseTextEditor *m_editor;
mutable bool m_isObjCEnabled;
mutable bool m_gotCppSpecifics;
- CppModelManagerInterface::WorkingCopy m_workingCopy;
+ WorkingCopy m_workingCopy;
mutable CPlusPlus::Snapshot m_snapshot;
mutable ProjectPart::HeaderPaths m_headerPaths;
};