• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

  • kate
  • app
kateconfigdialog.h
1/* This file is part of the KDE project
2 Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
3 Copyright (C) 2002 Joseph Wenninger <jowenn@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef __kate_configdialog_h__
21#define __kate_configdialog_h__
22
23#include "katemain.h"
24
25#include "../interfaces/plugin.h"
26#include "../interfaces/pluginconfiginterface.h"
27#include "../interfaces/pluginconfiginterfaceextension.h"
28
29#include <kate/document.h>
30#include <tdetexteditor/configinterfaceextension.h>
31
32#include <kdialogbase.h>
33
34class TQCheckBox;
35class TQSpinBox;
36class TQButtonGroup;
37
38struct PluginPageListItem
39{
40 Kate::Plugin *plugin;
41 Kate::PluginConfigPage *page;
42};
43
44class KateConfigDialog : public KDialogBase
45{
46 TQ_OBJECT
47
48 public:
49 KateConfigDialog (KateMainWindow *parent, Kate::View *view);
50 ~KateConfigDialog ();
51
52 public:
53 void addPluginPage (Kate::Plugin *plugin);
54 void removePluginPage (Kate::Plugin *plugin);
55
56 protected slots:
57 void slotOk();
58 void slotApply();
59 void slotChanged();
60
61 private:
62 KateMainWindow *mainWindow;
63
64 Kate::View* v;
65 bool dataChanged;
66
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;
84};
85
86#endif

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kate

Skip menu "kate"
  • kate
  • libkonq
  • twin
  •   lib
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.