]> 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 73c5d40644dc59687d74d5787e98a6bae5cde89e..bd8231996a88572d95bdb590fda8008366f1841d 100644 (file)
@@ -24,7 +24,7 @@ class GuiSearch : public GuiDialog, public Ui::SearchUi
        Q_OBJECT
 
 public:
-       GuiSearch(LyXView & lv);
+       GuiSearch(GuiView & lv);
 
 private Q_SLOTS:
        void findChanged();
@@ -33,14 +33,16 @@ private Q_SLOTS:
        void replaceallClicked();
 
 private:
-       void showView();
-       void closeEvent(QCloseEvent * e);
+       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);