comparison kdiff3/src/kdiff3_shell.h @ 8:86d21651c8db

KDiff3 version 0.9.70
author joachim99
date Mon, 06 Oct 2003 18:50:45 +0000
parents
children 8febbfb1148c
comparison
equal deleted inserted replaced
7:ff98a43bbfea 8:86d21651c8db
1 /*
2 * Copyright (C) 2003 Joachim Eibl <joachim.eibl@gmx.de>
3 */
4
5 #ifndef _KDIFF3SHELL_H_
6 #define _KDIFF3SHELL_H_
7
8 #ifdef HAVE_CONFIG_H
9 #include <config.h>
10 #endif
11
12 #include <kapplication.h>
13 #include <kparts/mainwindow.h>
14
15 class KToggleAction;
16
17 /**
18 * This is the application "Shell". It has a menubar, toolbar, and
19 * statusbar but relies on the "Part" to do all the real work.
20 *
21 * @short Application Shell
22 * @author Joachim Eibl <joachim.eibl@gmx.de>
23 */
24 class KDiff3Shell : public KParts::MainWindow
25 {
26 Q_OBJECT
27 public:
28 /**
29 * Default Constructor
30 */
31 KDiff3Shell();
32
33 /**
34 * Default Destructor
35 */
36 virtual ~KDiff3Shell();
37
38 bool queryClose();
39 bool queryExit();
40
41 private slots:
42 void optionsShowToolbar();
43 void optionsShowStatusbar();
44 void optionsConfigureKeys();
45 void optionsConfigureToolbars();
46
47 void applyNewToolbarConfig();
48
49 private:
50 KParts::ReadWritePart *m_part;
51
52 KToggleAction *m_toolbarAction;
53 KToggleAction *m_statusbarAction;
54 bool m_bUnderConstruction;
55 };
56
57 #endif // _KDIFF3_H_