CppTools: Get OverviewModel from model manager

Move ownership and add the placeholder for future clang based
OverviewModel.

Change-Id: Ia44d2c1d0db59b40239d1f7934bf37a02e4b14e6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Ivan Donchevskii
2018-02-02 13:01:07 +01:00
parent 8389aa144a
commit 7698d95576
8 changed files with 30 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ class TextDocument;
namespace CppTools {
class AbstractEditorSupport;
class AbstractOverviewModel;
class BaseEditorDocumentProcessor;
class CppCompletionAssistProvider;
class CppEditorDocumentHandle;
@@ -183,6 +184,7 @@ public:
TextEditor::TextDocument *baseTextDocument) const;
TextEditor::BaseHoverHandler *createHoverHandler() const;
FollowSymbolInterface &followSymbolInterface() const;
std::unique_ptr<AbstractOverviewModel> createOverviewModel() const;
void setIndexingSupport(CppIndexingSupport *indexingSupport);
CppIndexingSupport *indexingSupport();