aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakeeditor.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-10-01 22:39:47 +0200
committerhjk <hjk121@nokiamail.com>2014-10-06 22:32:48 +0200
commit1f65111e55b3e487289ff7a0dfbd4313c383d77f (patch)
treec68d02e06a8c95ee85ec267b409eccc0d6797dbe /src/plugins/cmakeprojectmanager/cmakeeditor.h
parent5bb8134ec135eae72d738220d2acd037d00cafbf (diff)
TextEditor: Move CompletionAssistProvider construction
... to the editor factories and pass it to the document, not the widget. Saves some code, puts fewer objects into the object pool. Change-Id: Iaaf250af74dc4e0c62700873accbb40ba88b7d9e Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeeditor.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeeditor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.h b/src/plugins/cmakeprojectmanager/cmakeeditor.h
index eece2cfd43..b09f188c23 100644
--- a/src/plugins/cmakeprojectmanager/cmakeeditor.h
+++ b/src/plugins/cmakeprojectmanager/cmakeeditor.h
@@ -37,6 +37,7 @@ namespace CMakeProjectManager {
namespace Internal {
class CMakeEditorWidget;
+class CMakeSettingsPage;
class CMakeEditor : public TextEditor::BaseTextEditor
{
@@ -56,7 +57,7 @@ class CMakeEditorFactory : public TextEditor::TextEditorFactory
Q_OBJECT
public:
- CMakeEditorFactory();
+ CMakeEditorFactory(CMakeSettingsPage *settingsPage);
};
} // namespace Internal