]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QExternal.h
ws change
[lyx.git] / src / frontends / qt2 / QExternal.h
1 // -*- C++ -*-
2 /**
3  * \file QExternal.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  */
9
10 #ifndef QEXTERNAL_H
11 #define QEXTERNAL_H
12
13 #include "Qt2Base.h"
14
15 class ControlExternal;
16 class QExternalDialog;
17
18 class QExternal :
19         public Qt2CB<ControlExternal, Qt2DB<QExternalDialog> >
20 {
21         friend class QExternalDialog;
22
23 public:
24         QExternal(ControlExternal &);
25
26 protected:
27         virtual bool isValid();
28
29 private:
30         /// Apply changes
31         virtual void apply();
32         /// update
33         virtual void update_contents();
34         /// build the dialog
35         virtual void build_dialog();
36
37         /// get the right helptext
38         string const & helpText();
39 };
40
41 #endif // QEXTERNAL_H