Warning, file /frameworks/ktexteditor/src/inputmode/katenormalinputmodefactory.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: KDE Developers
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "katenormalinputmodefactory.h"
0008 #include "katenormalinputmode.h"
0009 
0010 #include <KLocalizedString>
0011 
0012 KateAbstractInputMode *KateNormalInputModeFactory::createInputMode(KateViewInternal *viewInternal)
0013 {
0014     return new KateNormalInputMode(viewInternal);
0015 }
0016 
0017 KateConfigPage *KateNormalInputModeFactory::createConfigPage(QWidget *)
0018 {
0019     return nullptr;
0020 }
0021 
0022 KTextEditor::View::InputMode KateNormalInputModeFactory::inputMode()
0023 {
0024     return KTextEditor::View::NormalInputMode;
0025 }
0026 
0027 QString KateNormalInputModeFactory::name()
0028 {
0029     return i18n("Normal Mode");
0030 }