]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSendto.h
Juergen's QSendto.
[lyx.git] / src / frontends / qt2 / 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 Juergen Spitzmueller
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QSENDTO_H
13 #define QSENDTO_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20 #include <vector>
21
22 class ControlSendto;
23 class QSendtoDialog;
24 class Format;
25
26 /** This class provides a Qt implementation of the Custom Export Dialog.
27  */
28 class QSendto
29         : public Qt2CB<ControlSendto, Qt2DB<QSendtoDialog> >
30 {
31 public:
32         ///
33         friend class QSendtoDialog;
34         ///
35         QSendto();
36
37 protected:
38         virtual bool isValid();
39
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 #endif // QSENDTO_H