]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSendtoDialog.C
fix math fonts with LyX/Mac
[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 Jürgen Spitzmüller
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "QSendtoDialog.h"
14 #include "QSendto.h"
15
16 #include <qpushbutton.h>
17
18
19 namespace lyx {
20 namespace frontend {
21
22 QSendtoDialog::QSendtoDialog(QSendto * form)
23         : QSendtoDialogBase(0, 0, false, 0),
24         form_(form)
25 {
26         connect(okPB, SIGNAL(clicked()),
27                 form, SLOT(slotOK()));
28         connect(applyPB, SIGNAL(clicked()),
29                 form, SLOT(slotApply()));
30         connect(closePB, SIGNAL(clicked()),
31                 form, SLOT(slotClose()));
32 }
33
34
35 void QSendtoDialog::changed_adaptor()
36 {
37         form_->changed();
38 }
39
40
41 void QSendtoDialog::closeEvent(QCloseEvent * e)
42 {
43         form_->slotWMHide();
44         e->accept();
45 }
46
47 } // namespace frontend
48 } // namespace lyx