forked from qt-creator/qt-creator
TextEditor: Use new setup pattern for PlainTextEditorFactory
Change-Id: Iad3b8574a51db3baf6db74353e58968a2f6a4315 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -7,12 +7,8 @@
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
class TEXTEDITOR_EXPORT PlainTextEditorFactory : public TextEditor::TextEditorFactory
|
||||
{
|
||||
public:
|
||||
PlainTextEditorFactory();
|
||||
static PlainTextEditorFactory *instance();
|
||||
static BaseTextEditor *createPlainTextEditor();
|
||||
};
|
||||
TEXTEDITOR_EXPORT BaseTextEditor *createPlainTextEditor();
|
||||
|
||||
} // namespace TextEditor
|
||||
namespace Internal { void setupPlainTextEditor(); }
|
||||
|
||||
} // TextEditor
|
||||
|
||||
Reference in New Issue
Block a user