]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FindAndReplace.h
HTML output for InsetMathCancel.
[lyx.git] / src / frontends / qt4 / FindAndReplace.h
index 392515ce221455993b2d7cbce6254801f3dda1a6..354278b9af53da8905346b511ed95da49981423e 100644 (file)
@@ -15,6 +15,8 @@
 #include "GuiWorkArea.h"
 
 #include "DockView.h"
+// This is needed so that ui_FindAndReplaceUi.h can find qt_()
+#include "qt_helpers.h"
 #include "ui_FindAndReplaceUi.h"
 
 #include "BufferView.h"
@@ -37,6 +39,7 @@ class FindAndReplaceWidget : public QTabWidget, public Ui::FindAndReplaceUi
 public:
        FindAndReplaceWidget(GuiView & view);
        bool initialiseParams(std::string const & params);
+       void updateGUI();
 
 private:
        ///
@@ -84,11 +87,12 @@ public:
        bool initialiseParams(std::string const &);
        void clearParams() {}
        void dispatchParams() {}
-       bool isBufferDependent() const { return true; }
+       bool isBufferDependent() const { return false; }
+       bool canApplyToReadOnly() const { return true; }
        void selectAll();
 
        /// update
-       void updateView() {}
+       void updateView();
        //virtual void update_contents() {}
 
 protected: