]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSendtoDialog.C
Strip trailing whitespace.
[lyx.git] / src / frontends / qt2 / QSendtoDialog.C
1 /**
2  * \file QSendtoDialog.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Juergen Spitzmueller
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13
14 #include <vector>
15 #include "ControlSendto.h"
16 #include "qt_helpers.h"
17 #include "debug.h"
18
19 #include "converter.h"
20 #include "LString.h"
21
22 #include <qcombobox.h>
23 #include <qlabel.h>
24 #include <qlistbox.h>
25 #include <qpushbutton.h>
26
27 #include "QSendtoDialog.h"
28 #include "QSendto.h"
29
30
31 QSendtoDialog::QSendtoDialog(QSendto * form)
32         : QSendtoDialogBase(0, 0, false, 0),
33         form_(form)
34 {
35         connect(okPB, SIGNAL(clicked()),
36                 form, SLOT(slotOK()));
37         connect(applyPB, SIGNAL(clicked()),
38                 form, SLOT(slotApply()));
39         connect(closePB, SIGNAL(clicked()),
40                 form, SLOT(slotClose()));
41 }
42
43
44 void QSendtoDialog::changed_adaptor()
45 {
46         form_->changed();
47 }
48
49
50 void QSendtoDialog::closeEvent(QCloseEvent * e)
51 {
52         form_->slotWMHide();
53         e->accept();
54 }