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(LyXView & lv);
32 void replaceClicked();
33 void replaceallClicked();
37 void closeEvent(QCloseEvent * e);
39 bool initialiseParams(std::string const &) { return true; }
41 void dispatchParams() {}
42 bool isBufferDependent() const { return true; }
44 /// Searches occurence of string
45 void find(docstring const & search,
46 bool casesensitive, bool matchword, bool forward);
48 /// Replaces occurence of string
49 void replace(docstring const & search, docstring const & replace,
50 bool casesensitive, bool matchword,
51 bool forward, bool all);
54 } // namespace frontend