KTextEditor

kateviinputmodefactory.h
1/*
2 SPDX-FileCopyrightText: KDE Developers
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KATE_VI_INPUT_MODE_FACTORY_H
8#define KATE_VI_INPUT_MODE_FACTORY_H
9
10#include <memory>
11
12#include "kateabstractinputmodefactory.h"
13
14namespace KateVi
15{
16class GlobalState;
17}
18class KateViInputMode;
19
20class KateViInputModeFactory : public KateAbstractInputModeFactory
21{
22 friend KateViInputMode;
23
24public:
25 KateViInputModeFactory();
26
27 KateAbstractInputMode *createInputMode(KateViewInternal *viewInternal) override;
28
29 QString name() override;
30 KTextEditor::View::InputMode inputMode() override;
31
32 KateConfigPage *createConfigPage(QWidget *) override;
33
34private:
35 std::unique_ptr<KateVi::GlobalState> m_viGlobal;
36};
37
38#endif
InputMode
Possible input modes.
Definition view.h:286
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 7 2024 12:01:09 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.