diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-01-11 17:06:26 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-01-16 08:31:11 +0000 |
commit | 5e861d2be6729b7d4b0927b1d334f6298927013e (patch) | |
tree | ced4c2b983c44173b6331e406a1f255f6881d089 /src/plugins/cpptools/cppmodelmanager.cpp | |
parent | 53a744a6dfe3999b86e9adaab3c05d60322a251e (diff) | |
download | qt-creator-5e861d2be6729b7d4b0927b1d334f6298927013e.tar.gz |
CppTools: Move CppHoverHandler to CppTools
This is in preparation for clang code model to provide its own hover
handler.
Change-Id: Ifbdd96f427989bd5d1fbc4badb9c38108485c2f2
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager.cpp')
-rw-r--r-- | src/plugins/cpptools/cppmodelmanager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index 9beb97b2f3..f1b1d2c2bd 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -1293,8 +1293,13 @@ CppCompletionAssistProvider *CppModelManager::completionAssistProvider() const return d->m_activeModelManagerSupport->completionAssistProvider(); } +TextEditor::BaseHoverHandler *CppModelManager::createHoverHandler() const +{ + return d->m_activeModelManagerSupport->createHoverHandler(); +} + BaseEditorDocumentProcessor *CppModelManager::createEditorDocumentProcessor( - TextEditor::TextDocument *baseTextDocument) const + TextEditor::TextDocument *baseTextDocument) const { return d->m_activeModelManagerSupport->createEditorDocumentProcessor(baseTextDocument); } |