]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QInclude.h
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / qt2 / QInclude.h
1 // -*- C++ -*-
2 /**
3  * \file QInclude.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 QINCLUDE_H
13 #define QINCLUDE_H
14
15
16 #include "Qt2Base.h"
17
18 class ControlInclude;
19 class QIncludeDialog;
20
21 ///
22 class QInclude
23         : public Qt2CB<ControlInclude, Qt2DB<QIncludeDialog> >
24 {
25 public:
26         ///
27         friend class QIncludeDialog;
28         ///
29         QInclude();
30 protected:
31         virtual bool isValid();
32 private:
33         /// Apply changes
34         virtual void apply();
35         /// update
36         virtual void update_contents();
37         /// build the dialog
38         virtual void build_dialog();
39
40         /// load the file
41         void load();
42
43         /// browse for a file
44         void browse();
45 };
46
47 #endif // QINCLUDE_H