aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditorwidget.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2017-09-14 17:29:34 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2017-09-19 06:59:04 +0000
commitaf3416a9de180173adca8f18d8bbc439d18e521c (patch)
tree2d4db952c5d9a551ec6a51e09b8e96da04f5ae97 /src/plugins/cppeditor/cppeditorwidget.h
parent656b9f918540e7e95d0f599415a6f122a417fbbe (diff)
CppEditor: Refactor CppEditorWidget::contextMenuEvent
No behavior change. * Extract some functions * Add some clarifying comments here and there * Add QTC_CHECK() * Remove QLatin1String * foreach -> for * Const-correctness Change-Id: Ie6ccc987ef959c5295a4d3225aac0dbad144f91d Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorwidget.h')
-rw-r--r--src/plugins/cppeditor/cppeditorwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppeditorwidget.h b/src/plugins/cppeditor/cppeditorwidget.h
index 74a270db983..d67b1f4b8c4 100644
--- a/src/plugins/cppeditor/cppeditorwidget.h
+++ b/src/plugins/cppeditor/cppeditorwidget.h
@@ -129,6 +129,8 @@ private:
unsigned documentRevision() const;
+ QMenu *createRefactorMenu(QWidget *parent) const;
+
TextEditor::RefactorMarkers refactorMarkersWithoutClangMarkers() const;
CppTools::RefactoringEngineInterface *refactoringEngine() const;