lyx_mirror/src/frontends/qt2/QSendtoDialog.C
André Pönitz f566e7c604 Alfredo's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6305 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-28 09:49:49 +00:00

54 lines
955 B
C

/**
* \file QSendtoDialog.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Juergen Spitzmueller
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#include <vector>
#include "ControlSendto.h"
#include "qt_helpers.h"
#include "debug.h"
#include "LString.h"
#include <qcombobox.h>
#include <qlabel.h>
#include <qlistbox.h>
#include <qpushbutton.h>
#include "QSendtoDialog.h"
#include "QSendto.h"
QSendtoDialog::QSendtoDialog(QSendto * form)
: QSendtoDialogBase(0, 0, false, 0),
form_(form)
{
connect(okPB, SIGNAL(clicked()),
form, SLOT(slotOK()));
connect(applyPB, SIGNAL(clicked()),
form, SLOT(slotApply()));
connect(closePB, SIGNAL(clicked()),
form, SLOT(slotClose()));
}
void QSendtoDialog::changed_adaptor()
{
form_->changed();
}
void QSendtoDialog::closeEvent(QCloseEvent * e)
{
form_->slotWMHide();
e->accept();
}