1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
11 * \author John Levon, moz@compsoc.man.ac.uk
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
18 #pragma implementation
22 #include "ButtonControllerBase.h"
23 #include "ControlLog.h"
24 #include "frontends/LyXView.h"
27 #include "BufferView.h"
31 ControlLog::ControlLog(LyXView & lv, Dialogs & d)
32 : ControlDialogBD(lv, d)
34 d_.showLogFile.connect(slot(this, &ControlLog::show));
38 void ControlLog::setParams()
40 logfile_ = lv_.view()->buffer()->getLogName();
44 void ControlLog::clearParams()
46 logfile_.second.erase();