lyx_mirror/src/frontends/qt2/QURLDialog.C
John Levon 3796da5d05 various fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2585 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-25 20:04:15 +00:00

44 lines
620 B
C

/**
* \file QURLDialog.C
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author John Levon
*/
#include <config.h>
#include <qpushbutton.h>
#include "QURLDialog.h"
#include "Dialogs.h"
#include "QURL.h"
QURLDialog::QURLDialog(QURL * form)
: QURLDialogBase(0, 0, false, 0),
form_(form)
{
connect(okPB, SIGNAL(clicked()),
form_, SLOT(slotOK()));
connect(closePB, SIGNAL(clicked()),
form_, SLOT(slotClose()));
}
QURLDialog::~QURLDialog()
{
}
void QURLDialog::changed_adaptor()
{
form_->changed();
}
void QURLDialog::closeEvent(QCloseEvent * e)
{
form_->slotWMHide();
e->accept();
}