3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS
13 #include FORMS_H_LOCATION
16 #pragma implementation
19 #include "FormInset.h"
21 #include "frontends/Dialogs.h"
23 #include <boost/bind.hpp>
25 FormInset::FormInset(LyXView & lv, Dialogs & d, string const & t)
26 : FormBaseBD(lv, d, t)
30 void FormInset::connect()
32 u_ = d_.updateBufferDependent.
33 connect(boost::bind(&FormInset::updateSlot, this, _1));
34 h_ = d_.hideBufferDependent.
35 connect(boost::bind(&FormInset::hide, this));
36 FormBaseDeprecated::connect();
40 void FormInset::disconnect()
43 FormBaseBD::disconnect();
47 void FormInset::updateSlot(bool switched)