]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QBranch.h
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / QBranch.h
1 // -*- C++ -*-
2 /**
3  * \file QBranch.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Spitzmüller
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QBRANCH_H
13 #define QBRANCH_H
14
15 #include "QDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlBranch;
21 class QBranchDialog;
22
23 /** This class provides a QT implementation of the Branch Dialog.
24  */
25 class QBranch : public QController<ControlBranch, QView<QBranchDialog> >
26 {
27 public:
28         friend class QBranchDialog;
29
30         /// Constructor
31         QBranch(Dialog &);
32 private:
33         ///  Apply changes
34         virtual void apply();
35         /// Build the dialog
36         virtual void build_dialog();
37         /// Update dialog before showing it
38         virtual void update_contents();
39 };
40
41 } // namespace frontend
42 } // namespace lyx
43
44 #endif // QBRANCH_H