]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QChanges.h
reverse last change
[lyx.git] / src / frontends / qt2 / QChanges.h
1 // -*- C++ -*-
2 /**
3  * \file QChanges.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QCHANGES_H
13 #define QCHANGES_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 class ControlChanges;
22 class QChangesDialog;
23
24 class QChanges
25         : public Qt2CB<ControlChanges, Qt2DB<QChangesDialog> >
26 {
27 public:
28         friend class QChangesDialog;
29
30         QChanges();
31
32         void accept();
33
34         void reject();
35
36         void next();
37
38 private:
39         /// Apply changes
40         virtual void apply() {};
41         /// update
42         virtual void update_contents() {};
43         /// build the dialog
44         virtual void build_dialog();
45 };
46
47 #endif // QCHANGES_H