]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QSendto.h
* Painter.h:
[lyx.git] / src / frontends / qt4 / QSendto.h
1 // -*- C++ -*-
2 /**
3  * \file QSendto.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Spitzmüller
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QSENDTO_H
13 #define QSENDTO_H
14
15 #include "QDialogView.h"
16
17 #include <vector>
18
19 namespace lyx {
20
21 class Format;
22
23 namespace frontend {
24
25 class ControlSendto;
26 class QSendtoDialog;
27
28 /** This class provides a Qt implementation of the Custom Export Dialog.
29  */
30 class QSendto
31         : public QController<ControlSendto, QView<QSendtoDialog> >
32 {
33 public:
34         ///
35         friend class QSendtoDialog;
36         ///
37         QSendto(Dialog &);
38 protected:
39         virtual bool isValid();
40 private:
41         /// Apply from dialog
42         virtual void apply();
43         /// Update the dialog
44         virtual void update_contents();
45         /// Build the dialog
46         virtual void build_dialog();
47         ///
48         std::vector<Format const *> all_formats_;
49 };
50
51 } // namespace frontend
52 } // namespace lyx
53
54 #endif // QSENDTO_H