forked from qt-creator/qt-creator
C++: remove builtin RefactoringEngine dependency from CppEditor
Move CppRefactoringEngine to CppTools and builtin member ownership to model manager. Change-Id: I3e72308559fd2928229f9f25d4dd09beb3f56c34 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
#include <texteditor/codeassist/assistenums.h>
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace TextEditor { class IAssistProvider; }
|
||||
|
||||
namespace CppTools {
|
||||
@@ -36,8 +38,14 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT CppEditorWidgetInterface
|
||||
{
|
||||
public:
|
||||
void renameUsages(const QString &replacement = QString())
|
||||
{
|
||||
return renameUsagesInternal(replacement);
|
||||
}
|
||||
|
||||
virtual void showPreProcessorWidget() = 0;
|
||||
virtual void updateSemanticInfo() = 0;
|
||||
virtual void renameUsagesInternal(const QString &replacement) = 0;
|
||||
|
||||
virtual void invokeTextEditorWidgetAssist(TextEditor::AssistKind assistKind,
|
||||
TextEditor::IAssistProvider *provider) = 0;
|
||||
|
||||
Reference in New Issue
Block a user