3 * Copyright 2000-2001 The LyX Team.
4 * See the file COPYING.
6 * \author Angus Leeming <leeming@lyx.org>
11 #include FORMS_H_LOCATION
14 #pragma implementation
17 #include "FormInset.h"
19 #include "frontends/Dialogs.h"
21 #include <boost/bind.hpp>
23 FormInset::FormInset(LyXView & lv, Dialogs & d, string const & t)
24 : FormBaseBD(lv, d, t)
28 void FormInset::connect()
30 u_ = d_.updateBufferDependent.
31 connect(boost::bind(&FormInset::updateSlot, this, _1));
32 h_ = d_.hideBufferDependent.
33 connect(boost::bind(&FormInset::hide, this));
34 FormBaseDeprecated::connect();
38 void FormInset::disconnect()
41 FormBaseBD::disconnect();
45 void FormInset::updateSlot(bool switched)