]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSendto.h
Strip trailing whitespace.
[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
16 #include "Qt2Base.h"
17
18 #include <vector>
19
20 class ControlSendto;
21 class QSendtoDialog;
22 class Format;
23
24 /** This class provides a Qt implementation of the Custom Export Dialog.
25  */
26 class QSendto
27         : public Qt2CB<ControlSendto, Qt2DB<QSendtoDialog> >
28 {
29 public:
30         ///
31         friend class QSendtoDialog;
32         ///
33         QSendto();
34 protected:
35         virtual bool isValid();
36 private:
37         /// Apply from dialog
38         virtual void apply();
39         /// Update the dialog
40         virtual void update_contents();
41         /// Build the dialog
42         virtual void build_dialog();
43         ///
44         std::vector<Format const *> all_formats_;
45 };
46
47 #endif // QSENDTO_H