mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
47 lines
620 B
C++
47 lines
620 B
C++
|
/**
|
||
|
* \file QURLDialog.C
|
||
|
* Copyright 2001 the LyX Team
|
||
|
* Read the file COPYING
|
||
|
*
|
||
|
* \author John Levon
|
||
|
*/
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#include "QURLDialog.h"
|
||
|
#include "Dialogs.h"
|
||
|
#include "QURL.h"
|
||
|
|
||
|
QURLDialog::QURLDialog(QURL * form, QWidget * parent, const char * name, bool modal, WFlags fl)
|
||
|
: QURLDialogBase(parent, name, modal, fl),
|
||
|
form_(form)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
QURLDialog::~QURLDialog()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
void QURLDialog::apply_adaptor()
|
||
|
{
|
||
|
form_->apply();
|
||
|
form_->close();
|
||
|
hide();
|
||
|
}
|
||
|
|
||
|
|
||
|
void QURLDialog::close_adaptor()
|
||
|
{
|
||
|
form_->close();
|
||
|
hide();
|
||
|
}
|
||
|
|
||
|
|
||
|
void QURLDialog::closeEvent(QCloseEvent * e)
|
||
|
{
|
||
|
form_->close();
|
||
|
e->accept();
|
||
|
}
|