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 slotChanged();
00055
00056 private:
00057 KateDocManager *docManager;
00058 KateViewManager *viewManager;
00059 KatePluginManager *pluginManager;
00060 KateMainWindow *mainWindow;
00061
00062 Kate::View* v;
00063 bool dataChanged;
00064
00065 class QCheckBox* cb_reopenProjects;
00066 class QCheckBox* cb_reopenFiles;
00067 class QCheckBox* cb_restoreVC;
00068 class QCheckBox *cb_singleInstance;
00069 class QCheckBox *cb_fullPath;
00070 class QCheckBox *cb_syncKonsole;
00071 class QCheckBox *cb_sortFiles;
00072 class QSpinBox *sb_numRecentFiles;
00073 class QCheckBox *cb_modNotifications;
00074 class QComboBox *combo_guiMode;
00075 Kate::ConfigPage *fileSelConfigPage;
00076
00077 QPtrList<PluginPageListItem> pluginPages;
00078 QPtrList<KTextEditor::ConfigPage> editorPages;
00079 };
00080
00081 #endif
This file is part of the documentation for kate Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Mar 5 04:41:10 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003