]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSearch.h
header cleanup
[lyx.git] / src / frontends / qt4 / GuiSearch.h
index d9f71252e921bd3af4ff8248725b8c2343d400dc..b56555307456b50c33b821213939d26b62c40721 100644 (file)
 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() {}