20 #ifndef __kate_configdialog_h__
21 #define __kate_configdialog_h__
25 #include "../interfaces/plugin.h"
26 #include "../interfaces/pluginconfiginterface.h"
27 #include "../interfaces/pluginconfiginterfaceextension.h"
29 #include <kate/document.h>
30 #include <tdetexteditor/configinterfaceextension.h>
32 #include <kdialogbase.h>
38 struct PluginPageListItem
41 Kate::PluginConfigPage *page;
44 class KateConfigDialog :
public KDialogBase
49 KateConfigDialog (KateMainWindow *parent, Kate::View *view);
53 void addPluginPage (Kate::Plugin *plugin);
54 void removePluginPage (Kate::Plugin *plugin);
62 KateMainWindow *mainWindow;
67 TQCheckBox *cb_fullPath;
68 TQCheckBox *cb_showSessionName;
69 TQCheckBox *cb_syncKonsole;
70 TQCheckBox *cb_useInstance;
71 TQCheckBox *cb_sortFiles;
72 TQSpinBox *sb_numRecentFiles;
73 TQCheckBox *cb_modNotifications;
74 TQCheckBox *cb_saveMetaInfos;
75 TQSpinBox *sb_daysMetaInfos;
76 TQCheckBox* cb_restoreVC;
77 TQButtonGroup *sessions_start;
78 TQButtonGroup *sessions_exit;
79 Kate::ConfigPage *fileSelConfigPage;
80 Kate::ConfigPage *filelistConfigPage;
81 Kate::ConfigPage *configExternalToolsPage;
82 TQPtrList<PluginPageListItem> pluginPages;
83 TQPtrList<KTextEditor::ConfigPage> editorPages;