#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "ControlConnections.h"
#include <boost/bind.hpp>
+
ControlConnectBase::ControlConnectBase(LyXView & lv, Dialogs & d)
: lv_(lv), d_(d)
{}
void ControlConnectBI::connect()
{
- h_ = d_.hideAll.connect(boost::bind(&ControlConnectBI::hide, this));
+ h_ = d_.hideAllSignal.connect(boost::bind(&ControlConnectBI::hide, this));
ControlConnectBase::connect();
}
void ControlConnectBD::connect()
{
- u_ = d_.updateBufferDependent.
+ u_ = d_.updateBufferDependentSignal.
connect(boost::bind(&ControlConnectBD::updateSlot, this, _1));
- h_ = d_.hideBufferDependent.
+ h_ = d_.hideBufferDependentSignal.
connect(boost::bind(&ControlConnectBD::hide, this));
ControlConnectBase::connect();
}