]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QExternalDialog.h
Lots and lots of little trivial bits.
[lyx.git] / src / frontends / qt2 / QExternalDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QExternalDialog.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 QEXTERNALDIALOG_H
13 #define QEXTERNALDIALOG_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ui/QExternalDialogBase.h"
20
21 class QExternal;
22
23 class QExternalDialog : public QExternalDialogBase
24 { Q_OBJECT
25
26 public:
27         QExternalDialog(QExternal * form);
28
29         virtual void show();
30
31 protected slots:
32         virtual void change_adaptor();
33         virtual void editClicked();
34         virtual void viewClicked();
35         virtual void updateClicked();
36         virtual void browseClicked();
37         virtual void templateChanged();
38
39 protected:
40         virtual void closeEvent(QCloseEvent * e);
41
42 private:
43         QExternal * form_;
44 };
45
46 #endif // QEXTERNALDIALOG_H