2 * \file QSendtoDialog.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Jürgen Spitzmüller
8 * Full author contact details are available in file CREDITS.
13 #include "QSendtoDialog.h"
16 #include <QPushButton>
17 #include <QCloseEvent>
23 QSendtoDialog::QSendtoDialog(QSendto * form)
28 connect(okPB, SIGNAL(clicked()),
29 form, SLOT(slotOK()));
30 connect(applyPB, SIGNAL(clicked()),
31 form, SLOT(slotApply()));
32 connect(closePB, SIGNAL(clicked()),
33 form, SLOT(slotClose()));
35 connect( formatLW, SIGNAL( itemClicked(QListWidgetItem *) ),
36 this, SLOT( slotFormatHighlighted(QListWidgetItem *) ) );
37 connect( formatLW, SIGNAL( itemActivated(QListWidgetItem *) ),
38 this, SLOT( slotFormatSelected(QListWidgetItem *) ) );
39 connect( formatLW, SIGNAL( itemClicked(QListWidgetItem *) ),
40 this, SLOT( changed_adaptor() ) );
41 connect( commandCO, SIGNAL( textChanged(const QString&) ),
42 this, SLOT( changed_adaptor() ) );
46 void QSendtoDialog::changed_adaptor()
52 void QSendtoDialog::closeEvent(QCloseEvent * e)
58 } // namespace frontend
61 #include "QSendtoDialog_moc.cpp"