3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
15 #pragma implementation
20 #include "ControlVCLog.h"
23 #include "QVCLogDialog.h"
26 #include <qtextview.h>
27 #include <qpushbutton.h>
29 typedef Qt2CB<ControlVCLog, Qt2DB<QVCLogDialog> > base_class;
32 : base_class(_("VCLog"))
37 void QVCLog::build_dialog()
39 dialog_.reset(new QVCLogDialog(this));
41 bc().setCancel(dialog_->closePB);
45 void QVCLog::update_contents()
47 dialog_->setCaption(string(_("Version control log for ") + controller().getBufferFileName()).c_str());
49 dialog_->vclogTV->setText("");
53 dialog_->vclogTV->setText(controller().getVCLogFile(ss).str().c_str());