]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QShowFile.h
Fix unreported bug related to 3246 by Richard Heck:
[lyx.git] / src / frontends / qt4 / QShowFile.h
1 // -*- C++ -*-
2 /**
3  * \file QShowFile.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 QSHOWFILE_H
13 #define QSHOWFILE_H
14
15 #include "QDialogView.h"
16 #include "QShowFileDialog.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 class ControlShowFile;
22
23 class QShowFile
24         : public QController<ControlShowFile, QView<QShowFileDialog> >
25 {
26 public:
27         friend class QShowFileDialog;
28
29         QShowFile(Dialog &);
30 private:
31         /// Apply changes
32         virtual void apply() {}
33         /// update
34         virtual void update_contents();
35         /// build the dialog
36         virtual void build_dialog();
37 };
38
39 } // namespace frontend
40 } // namespace lyx
41
42 #endif // QSHOWFILE_H