2 * \file ControlInclude.C
3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
6 * \author Alejandro Aguilar Sierra
7 * \author John Levon, moz@compsoc.man.ac.uk
8 * \author Angus Leeming, a.leeming@.ac.uk
12 #pragma implementation
16 #include "ControlInclude.h"
24 ControlInclude::ControlInclude(LyXView & lv, Dialogs & d)
25 : ControlInset<InsetInclude, InsetInclude::Params>(lv, d)
27 d_.showInclude.connect(slot(this, &ControlInclude::showInset));
30 LyXView * ControlInclude::lv() const
36 void ControlInclude::applyParamsToInset()
38 inset()->set(params());
39 lv_.view()->updateInset(inset(), true);