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 "QShowFileDialog.h"
|
|
|
|
#include "Dialogs.h"
|
|
|
|
#include "QShowFile.h"
|
|
|
|
|
|
|
|
#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();
|
|
|
|
}
|