kateconfigdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __kate_configdialog_h__
00021 #define __kate_configdialog_h__
00022
00023 #include "katemain.h"
00024
00025 #include "../interfaces/plugin.h"
00026 #include "../interfaces/pluginconfiginterface.h"
00027 #include "../interfaces/pluginconfiginterfaceextension.h"
00028
00029 #include <kate/document.h>
00030 #include <ktexteditor/configinterfaceextension.h>
00031
00032 #include <kdialogbase.h>
00033
00034 struct PluginPageListItem
00035 {
00036 Kate::Plugin *plugin;
00037 Kate::PluginConfigPage *page;
00038 };
00039
00040 class KateConfigDialog : public KDialogBase
00041 {
00042 Q_OBJECT
00043
00044 public:
00045 KateConfigDialog (KateMainWindow *parent, Kate::View *view);
00046 ~KateConfigDialog ();
00047
00048 public:
00049 void addPluginPage (Kate::Plugin *plugin);
00050 void removePluginPage (Kate::Plugin *plugin);
00051
00052 protected slots:
00053 void slotOk();
00054 void slotApply();
00055 void slotChanged();
00056
00057 private:
00058 KateMainWindow *mainWindow;
00059
00060 Kate::View* v;
00061 bool dataChanged;
00062
00063 class QCheckBox* cb_reopenProjects;
00064 class QCheckBox* cb_reopenFiles;
00065 class QCheckBox* cb_restoreVC;
00066 class QCheckBox *cb_singleInstance;
00067 class QCheckBox *cb_fullPath;
00068 class QCheckBox *cb_syncKonsole;
00069 class QCheckBox *cb_modNotifications;
00070 class QCheckBox *cb_saveMetaInfos;
00071 class QSpinBox *sb_daysMetaInfos;
00072 Kate::ConfigPage *fileSelConfigPage;
00073 Kate::ConfigPage *filelistConfigPage;
00074 Kate::ConfigPage *configExternalToolsPage;
00075 QPtrList<PluginPageListItem> pluginPages;
00076 QPtrList<KTextEditor::ConfigPage> editorPages;
00077 };
00078
00079 #endif
This file is part of the documentation for kate Library Version 3.4.3.