Kate
katemodeconfigpage.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KATE_MODECONFIGPAGE_H__
00020 #define KATE_MODECONFIGPAGE_H__
00021
00022 #include <QtCore/QStringList>
00023 #include <QtCore/QPointer>
00024 #include <QtCore/QHash>
00025
00026 #include "katedialogs.h"
00027 #include "katemodemanager.h"
00028
00029
00030 namespace Ui
00031 {
00032 class FileTypeConfigWidget;
00033 }
00034
00035 class ModeConfigPage : public KateConfigPage
00036 {
00037 Q_OBJECT
00038
00039 public:
00040 explicit ModeConfigPage( QWidget *parent );
00041 ~ModeConfigPage ();
00042
00043 public Q_SLOTS:
00044 void apply();
00045 void reload();
00046 void reset();
00047 void defaults();
00048
00049 private Q_SLOTS:
00050 void update ();
00051 void deleteType ();
00052 void newType ();
00053 void typeChanged (int type);
00054 void showMTDlg();
00055 void save ();
00056 void hlDownload ();
00057
00058 private:
00059 Ui::FileTypeConfigWidget *ui;
00060
00061 QList<KateFileType *> m_types;
00062 int m_lastType;
00063 };
00064
00065 #endif
00066