]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSendtoDialog.C
Some string(widget->text()) fixes. Weirdness
[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 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include <vector>
18 #include "ControlSendto.h"
19 #include "gettext.h"
20 #include "debug.h"
21
22 #include "converter.h"
23 #include "LString.h"
24
25 #include <qcombobox.h>
26 #include <qlabel.h>
27 #include <qlistbox.h>
28 #include <qpushbutton.h>
29
30 #include "QSendtoDialog.h"
31 #include "QSendto.h"
32
33
34 QSendtoDialog::QSendtoDialog(QSendto * form)
35         : QSendtoDialogBase(0, 0, false, 0),
36         form_(form)
37 {
38         connect(okPB, SIGNAL(clicked()),
39                 form, SLOT(slotOK()));
40         connect(applyPB, SIGNAL(clicked()),
41                 form, SLOT(slotApply()));
42         connect(closePB, SIGNAL(clicked()),
43                 form, SLOT(slotClose()));
44 }
45
46
47 void QSendtoDialog::changed_adaptor()
48 {
49         form_->changed();
50 }
51
52
53 void QSendtoDialog::closeEvent(QCloseEvent * e)
54 {
55         form_->slotWMHide();
56         e->accept();
57 }