mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
d4c8acbcb2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1090 a592a061-630c-0410-9148-cb99ea01b6c8
47 lines
833 B
C
47 lines
833 B
C
/* FormCopyright.C
|
|
* FormCopyright Interface Class Implementation
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include FORMS_H_LOCATION
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "Dialogs.h"
|
|
#include "LyXView.h"
|
|
#include "form_copyright.h"
|
|
#include "FormCopyright.h"
|
|
|
|
FormCopyright::FormCopyright( LyXView * lv, Dialogs * d )
|
|
: FormBase( lv, d, _("Copyright and Warranty"),
|
|
BUFFER_INDEPENDENT, HIDE ),
|
|
dialog_(0)
|
|
{
|
|
// let the dialog be shown
|
|
// This is a permanent connection so we won't bother
|
|
// storing a copy because we won't be disconnecting.
|
|
d->showCopyright.connect(slot(this, &FormCopyright::show));
|
|
}
|
|
|
|
|
|
FormCopyright::~FormCopyright()
|
|
{
|
|
delete dialog_;
|
|
}
|
|
|
|
|
|
FL_FORM * FormCopyright::form() const
|
|
{
|
|
if ( dialog_ ) return dialog_->form;
|
|
return 0;
|
|
}
|
|
|
|
|
|
void FormCopyright::build()
|
|
{
|
|
dialog_ = build_copyright();
|
|
}
|