2002-01-29 10:05:09 +00:00
|
|
|
/**
|
|
|
|
* \file QShowFileDialog.C
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "QShowFile.h"
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "QShowFileDialog.h"
|
2002-01-29 10:05:09 +00:00
|
|
|
|
|
|
|
#include <qwidget.h>
|
|
|
|
#include <qpushbutton.h>
|
|
|
|
|
|
|
|
QShowFileDialog::QShowFileDialog(QShowFile * form)
|
|
|
|
: QShowFileDialogBase(0, 0, false, 0),
|
|
|
|
form_(form)
|
|
|
|
{
|
|
|
|
connect(closePB, SIGNAL(clicked()),
|
|
|
|
form, SLOT(slotClose()));
|
|
|
|
}
|
|
|
|
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-01-29 10:05:09 +00:00
|
|
|
void QShowFileDialog::closeEvent(QCloseEvent * e)
|
|
|
|
{
|
|
|
|
form_->slotWMHide();
|
|
|
|
e->accept();
|
|
|
|
}
|