KTextEditor

katemodeconfigpage.h
1/*
2 SPDX-FileCopyrightText: 2001-2010 Christoph Cullmann <cullmann@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KATE_MODECONFIGPAGE_H
8#define KATE_MODECONFIGPAGE_H
9
10#include <QHash>
11#include <QPointer>
12
13#include "katedialogs.h"
14#include "katemodemanager.h"
15
16namespace Ui
17{
18class FileTypeConfigWidget;
19}
20
21class ModeConfigPage : public KateConfigPage
22{
23public:
24 explicit ModeConfigPage(QWidget *parent);
25 ~ModeConfigPage() override;
26 QString name() const override;
27
28public:
29 void apply() override;
30 void reload() override;
31 void reset() override;
32 void defaults() override;
33
34private:
35 void update();
36 void deleteType();
37 void newType();
38 void typeChanged(int type);
39 void showMTDlg();
40 void save();
41
42private:
43 Ui::FileTypeConfigWidget *ui;
44
46 int m_lastType;
47};
48
49#endif
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.