]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QExternal.h
namespace grfx -> lyx::graphics
[lyx.git] / src / frontends / qt2 / QExternal.h
1 // -*- C++ -*-
2 /**
3  * \file QExternal.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 QEXTERNAL_H
13 #define QEXTERNAL_H
14
15
16 #include "QDialogView.h"
17
18
19 class ControlExternal;
20 class QExternalDialog;
21
22
23 class QExternal
24         : public QController<ControlExternal, QView<QExternalDialog> >
25 {
26 public:
27         friend class QExternalDialog;
28
29         QExternal(Dialog &);
30
31 private:
32         /// Apply changes
33         virtual void apply();
34         /// update
35         virtual void update_contents();
36         /// build the dialog
37         virtual void build_dialog();
38
39         /// get the right helptext
40         string const helpText() const;
41 };
42
43 #endif // QEXTERNAL_H