lyx_mirror/src/frontends/qt2/QShowFileDialog.C
Edwin Leuven 76ff845d19 add showfile dialog to qt2 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3448 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 10:05:09 +00:00

30 lines
528 B
C

/**
* \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()));
}
void QShowFileDialog::closeEvent(QCloseEvent * e)
{
form_->slotWMHide();
e->accept();
}