]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSearch.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiSearch.h
index d9f71252e921bd3af4ff8248725b8c2343d400dc..bd8231996a88572d95bdb590fda8008366f1841d 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,16 +33,16 @@ 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() {}
        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);