From 1e2d2665414d7e62bd816e542fd3ea0b568c0b69 Mon Sep 17 00:00:00 2001 From: Benjamin Zeller Date: Tue, 24 Feb 2015 21:57:00 +0100 Subject: Make CMakeTool known to the Kits This patch adds support for binding a specific CMakeTool to a Kit. When creating a new Kit or loading a existing one without a valid CMakeTool, the default CMakeTool will be set. Change-Id: I28d0843a01c583c4b31fc680a0ec556b40cd9c0d Reviewed-by: Daniel Teske --- src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h') diff --git a/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h b/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h index ee99c5a18e..4a0de7ff88 100644 --- a/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h +++ b/src/plugins/cmakeprojectmanager/cmakefilecompletionassist.h @@ -32,12 +32,22 @@ #define CMAKEFILECOMPLETIONASSIST_H #include +#include namespace CMakeProjectManager { namespace Internal { class CMakeSettingsPage; +class CMakeFileCompletionAssist : public TextEditor::KeywordsCompletionAssistProcessor +{ +public: + CMakeFileCompletionAssist(); + + // IAssistProcessor interface + TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) Q_DECL_OVERRIDE; +}; + class CMakeFileCompletionAssistProvider : public TextEditor::CompletionAssistProvider { Q_OBJECT -- cgit v1.2.1