#include <config.h>
+#include "ViewBase.h"
+#include "ButtonControllerBase.h"
#include "ControlError.h"
#include "Dialogs.h"
#include "LyXView.h"
#include "buffer.h"
#include "insets/inseterror.h"
-using SigC::slot;
ControlError::ControlError(LyXView & lv, Dialogs & d)
: ControlInset<InsetError, string>(lv, d)
{
- d_.showError.connect(slot(this, &ControlError::showInset));
+ d_.showError.connect(SigC::slot(this, &ControlError::showInset));
}
+
string const ControlError::getParams(InsetError const & inset)
{
return inset.getContents();