4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
17 #include "ui_SearchUi.h"
22 class GuiSearch : public GuiDialog, public Ui::SearchUi
27 GuiSearch(GuiView & lv);
32 void replaceClicked();
33 void replaceallClicked();
36 void showEvent(QShowEvent * e);
38 bool initialiseParams(std::string const &) override { return true; }
39 void clearParams() override {}
40 void dispatchParams() override {}
41 bool isBufferDependent() const override { return true; }
43 /// Searches occurrence of string
44 void find(docstring const & search,
45 bool casesensitive, bool matchword, bool forward);
47 /// Replaces occurrence of string
48 void replace(docstring const & search, docstring const & replace,
49 bool casesensitive, bool matchword,
50 bool forward, bool all);
53 } // namespace frontend