]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QURLDialog.C
fix tooltips in toolbar
[lyx.git] / src / frontends / qt2 / QURLDialog.C
1 /**
2  * \file QURLDialog.C
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon
7  */
8
9 #include <config.h>
10
11 #include "QURL.h"
12 #include "QURLDialog.h"
13
14 #include <qpushbutton.h>
15  
16 QURLDialog::QURLDialog(QURL * form)
17         : QURLDialogBase(0, 0, false, 0),
18         form_(form)
19 {
20         connect(okPB, SIGNAL(clicked()),
21                 form_, SLOT(slotOK()));
22         connect(closePB, SIGNAL(clicked()),
23                 form_, SLOT(slotClose()));
24 }
25
26
27 QURLDialog::~QURLDialog()
28 {
29 }
30
31
32 void QURLDialog::changed_adaptor()
33 {
34         form_->changed();
35 }
36
37
38 void QURLDialog::closeEvent(QCloseEvent * e)
39 {
40         form_->slotWMHide();
41         e->accept();
42 }