lyx_mirror/src/frontends/qt2/QERTDialog.C
John Levon f1dac2b3ea forgot cvs add ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2593 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-26 19:19:27 +00:00

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();
}