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