]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QLogDialog.C
some tabular fixes for the problems reported by Helge
[lyx.git] / src / frontends / qt2 / QLogDialog.C
1 /**
2  * \file QLogDialog.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "QLogDialog.h"
14 #include "QLog.h"
15
16 #include <qpushbutton.h>
17
18
19 namespace lyx {
20 namespace frontend {
21
22 QLogDialog::QLogDialog(QLog * form)
23         : QLogDialogBase(0, 0, false, 0),
24         form_(form)
25 {
26         connect(closePB, SIGNAL(clicked()),
27                 form, SLOT(slotClose()));
28 }
29
30
31 void QLogDialog::closeEvent(QCloseEvent * e)
32 {
33         form_->slotWMHide();
34         e->accept();
35 }
36
37
38 void QLogDialog::updateClicked()
39 {
40         form_->update_contents();
41 }
42
43 } // namespace frontend
44 } // namespace lyx