namespace lyx {
namespace frontend {
-class GuiSearch : public GuiDialog, public Ui::SearchUi, public Controller
+class GuiSearch : public GuiDialog, public Ui::SearchUi
{
Q_OBJECT
public:
- GuiSearch(LyXView & lv);
+ GuiSearch(GuiView & lv);
private Q_SLOTS:
void findChanged();
void replaceallClicked();
private:
- void showView();
- void closeEvent(QCloseEvent * e);
- /// parent controller
- Controller & controller() { return *this; }
+ void showEvent(QShowEvent * e);
///
bool initialiseParams(std::string const &) { return true; }
void clearParams() {}
void dispatchParams() {}
bool isBufferDependent() const { return true; }
+ /// Dispatches repeatedly func with wrap around question
+ void wrap_dispatch(const FuncRequest & func, bool forward);
+
/// Searches occurence of string
void find(docstring const & search,
bool casesensitive, bool matchword, bool forward);