/**
* \file QPreamble.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
-#include <fstream>
#ifdef __GNUG__
#pragma implementation
#include "gettext.h"
#include "LyXView.h"
#include "ControlPreamble.h"
-
+
#include "QPreamble.h"
#include "QPreambleDialog.h"
#include "Qt2BC.h"
typedef Qt2CB<ControlPreamble, Qt2DB<QPreambleDialog> > base_class;
+
QPreamble::QPreamble()
: base_class(_("LaTeX Preamble"))
{
void QPreamble::apply()
{
- controller().params() = dialog_->preambleLE->text().latin1();
+ controller().params(dialog_->preambleLE->text().latin1());
}