// FIXME: temporary
#include "frontends/xforms/DropDown.h"
+#include "frontends/xforms/XFormsView.h"
#include "minibuffer.h"
#include "support/lyxalgo.h"
#include "support/filetools.h"
#include "support/lstrings.h"
-#include "LyXView.h"
-#include "XFormsView.h"
+#include "frontends/LyXView.h"
#include "gettext.h"
#include "LyXAction.h"
#include "BufferView.h"
#include "frontends/Timeout.h"
+#include <boost/bind.hpp>
+
#include <cctype>
-using SigC::slot;
+#ifndef CXX_GLOBAL_CSTD
+using std::isprint;
+#endif
+
using std::vector;
using std::back_inserter;
using std::find;
add(FL_NORMAL_INPUT, x, y, h, w);
timer = new Timeout(6000);
- timer->timeout.connect(slot(this, &MiniBuffer::init));
+ timer->timeout.connect(boost::bind(&MiniBuffer::init, this));
stored_timer = new Timeout(1500);
- stored_timer->timeout.connect(slot(this, &MiniBuffer::stored_slot));
+ stored_timer->timeout.connect(boost::bind(&MiniBuffer::stored_slot, this));
deactivate();
}
void MiniBuffer::dd_init()
{
dropdown_ = new DropDown(owner_, the_buffer);
- dropdown_->result.connect(slot(this, &MiniBuffer::set_complete_input));
- dropdown_->keypress.connect(slot(this, &MiniBuffer::append_char));
+ dropdown_->result.connect(boost::bind(&MiniBuffer::set_complete_input, this, _1));
+ dropdown_->keypress.connect(boost::bind(&MiniBuffer::append_char, this, _1));
}
if (!input.empty()) {
history_->push_back(input);
}
- stringReady.emit(input);
+ stringReady(input);
# if 0
}
#endif
if (the_buffer->focus)
return;
- timeout.emit();
+ timeout();
timer->stop();
}