]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/FormCreditsDialogImpl.C
implement getLabelList
[lyx.git] / src / frontends / qt2 / FormCreditsDialogImpl.C
1 #include "FormCreditsDialogImpl.h"
2 #include "FormCredits.h"
3 #include <qpushbutton.h>
4
5 /*
6  *  Constructs a FormCreditsDialogImpl which is a child of 'parent', with the
7  *  name 'name' and widget flags set to 'f'
8  *
9  *  The dialog will by default be modeless, unless you set 'modal' to
10  *  TRUE to construct a modal dialog.
11  */
12 FormCreditsDialogImpl::FormCreditsDialogImpl( FormCredits* form, QWidget* parent,  
13                                               const char* name, bool modal, WFlags fl )
14     : FormCreditsDialog( parent, name, modal, fl )
15 {
16     connect( okPB, SIGNAL( clicked() ),
17              form, SLOT( slotCancel() ) );
18 }
19
20 /*
21  *  Destroys the object and frees any allocated resources
22  */
23 FormCreditsDialogImpl::~FormCreditsDialogImpl()
24 {
25     // no need to delete child widgets, Qt does it all for us
26 }
27