diff options
author | hjk <hjk@qt.io> | 2024-01-26 16:01:31 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2024-01-29 14:22:22 +0000 |
commit | d4635d438939a7195c81df2d387b553358504e84 (patch) | |
tree | 8f894854e3901dd9a8f530cf9590ef8633f1140e /src/plugins/texteditor/markdowneditor.h | |
parent | d2db92e248bbd78e5a602361fcb28f7ef07c3ba7 (diff) |
TextEditor: Use new setup pattern for markdown and json editor
And remove the now-empty plugin pimpl.
Change-Id: Ie00b747a4a41bc6efc84ea43db81a71e8364df3d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/plugins/texteditor/markdowneditor.h')
-rw-r--r-- | src/plugins/texteditor/markdowneditor.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/plugins/texteditor/markdowneditor.h b/src/plugins/texteditor/markdowneditor.h index fe37e7a6265..52f50a5936c 100644 --- a/src/plugins/texteditor/markdowneditor.h +++ b/src/plugins/texteditor/markdowneditor.h @@ -3,28 +3,8 @@ #pragma once -#include <coreplugin/editormanager/ieditorfactory.h> - -#include <texteditor/texteditoractionhandler.h> - -#include <utils/parameteraction.h> - namespace TextEditor::Internal { -class MarkdownEditorFactory final : public Core::IEditorFactory -{ -public: - MarkdownEditorFactory(); - -private: - TextEditor::TextEditorActionHandler m_actionHandler; - Utils::Action m_emphasisAction; - Utils::Action m_strongAction; - Utils::Action m_inlineCodeAction; - Utils::Action m_linkAction; - Utils::Action m_toggleEditorAction; - Utils::Action m_togglePreviewAction; - Utils::Action m_swapAction; -}; +void setupMarkdownEditor(); } // TextEditor::Internal |