]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QChangesDialog.h
Added initial qt4 work by Abdelrazak Younes
[lyx.git] / src / frontends / qt4 / QChangesDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QChangesDialog.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 QCHANGESDIALOG_H
13 #define QCHANGESDIALOG_H
14
15 #include "ui/QChangesUi.h"
16 #include "QChanges.h"
17
18 #include <QCloseEvent>
19 #include <QDialog>
20
21 class QChanges;
22
23 namespace lyx {
24 namespace frontend {
25
26 class QChangesDialog : public QDialog, public Ui::QChangesUi {
27         Q_OBJECT
28 public:
29
30         QChangesDialog(QChanges * form);
31
32 protected slots:
33
34         virtual void nextPressed();
35         virtual void acceptPressed();
36         virtual void rejectPressed();
37
38 protected:
39         virtual void closeEvent(QCloseEvent * e);
40
41 private:
42         QChanges * form_;
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // QCHANGESDIALOG_H