mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
f1dac2b3ea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2593 a592a061-630c-0410-9148-cb99ea01b6c8
31 lines
526 B
C
31 lines
526 B
C
/**
|
|
* \file QERTDialog.C
|
|
* Copyright 2001 the LyX Team
|
|
* Read the file COPYING
|
|
*
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
*/
|
|
|
|
#include "QERTDialog.h"
|
|
#include "Dialogs.h"
|
|
#include "QERT.h"
|
|
|
|
#include <qpushbutton.h>
|
|
|
|
QERTDialog::QERTDialog(QERT * form)
|
|
: QERTDialogBase(0, 0, false, 0),
|
|
form_(form)
|
|
{
|
|
connect(okPB, SIGNAL(clicked()),
|
|
form, SLOT(slotOK()));
|
|
connect(closePB, SIGNAL(clicked()),
|
|
form, SLOT(slotClose()));
|
|
}
|
|
|
|
|
|
void QERTDialog::closeEvent(QCloseEvent * e)
|
|
{
|
|
form_->slotWMHide();
|
|
e->accept();
|
|
}
|