KTextEditor

kateabstractinputmodefactory.h
1/*
2 SPDX-FileCopyrightText: KDE Developers
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KATE_ABSTRACT_INPUT_MODE_FACTORY_H
8#define KATE_ABSTRACT_INPUT_MODE_FACTORY_H
9
10class KateAbstractInputMode;
11class KateViewInternal;
12
13class KConfig;
14class KateConfigPage;
15
16#include "ktexteditor/view.h"
17#include <QString>
18class QWidget;
19
20class KateAbstractInputModeFactory
21{
22public:
23 KateAbstractInputModeFactory();
24
25 virtual ~KateAbstractInputModeFactory();
26 virtual KateAbstractInputMode *createInputMode(KateViewInternal *viewInternal) = 0;
27
28 virtual QString name() = 0;
29 virtual KTextEditor::View::InputMode inputMode() = 0;
30
31 virtual KateConfigPage *createConfigPage(QWidget *) = 0;
32};
33
34#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 Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.