1/*
2 SPDX-FileCopyrightText: KDE Developers
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "katenormalinputmodefactory.h"
8#include "katenormalinputmode.h"
9
10#include <KLocalizedString>
11
12KateAbstractInputMode *KateNormalInputModeFactory::createInputMode(KateViewInternal *viewInternal)
13{
14 return new KateNormalInputMode(viewInternal);
15}
16
17KateConfigPage *KateNormalInputModeFactory::createConfigPage(QWidget *)
18{
19 return nullptr;
20}
21
22KTextEditor::View::InputMode KateNormalInputModeFactory::inputMode()
23{
24 return KTextEditor::View::NormalInputMode;
25}
26
27QString KateNormalInputModeFactory::name()
28{
29 return i18n("Normal Mode");
30}
31

source code of ktexteditor/src/inputmode/katenormalinputmodefactory.cpp