X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiSearch.h;h=b56555307456b50c33b821213939d26b62c40721;hb=ba76bf5eb85db5a10839fccee3430d906d3f7b70;hp=d9f71252e921bd3af4ff8248725b8c2343d400dc;hpb=f5eb303b4bf73b72938bf87a0ab4514eedc322f3;p=lyx.git diff --git a/src/frontends/qt4/GuiSearch.h b/src/frontends/qt4/GuiSearch.h index d9f71252e9..b565553074 100644 --- a/src/frontends/qt4/GuiSearch.h +++ b/src/frontends/qt4/GuiSearch.h @@ -19,12 +19,12 @@ 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(); @@ -33,10 +33,7 @@ private Q_SLOTS: 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() {}