]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSpellchecker.h
Also display the info about BibTeX databases in the TeX info panel.
[lyx.git] / src / frontends / qt4 / GuiSpellchecker.h
index c378aacebad23d3cdff76356a4a7d721fa7fab62..5851e8ceda5e31cd9e3c05df50727546f2ca4135 100644 (file)
@@ -31,12 +31,12 @@ class SpellcheckerWidget : public QTabWidget
        Q_OBJECT
 
 public:
-       SpellcheckerWidget(GuiView * gv, QWidget * parent = 0);
+       SpellcheckerWidget(GuiView * gv, DockView * dv, QWidget * parent = 0);
        ~SpellcheckerWidget();
        ///
        void updateView();
        ///
-       bool initialiseParams(std::string const & data);
+       bool initialiseParams(std::string const &);
 
 private Q_SLOTS:
        void on_findNextPB_clicked();
@@ -71,7 +71,7 @@ public:
 private:
        ///{
        void updateView();
-       bool initialiseParams(std::string const &) { return true; }
+       bool initialiseParams(std::string const & data) { return widget_->initialiseParams(data); }
        void clearParams() {}
        void dispatchParams() {}
        bool isBufferDependent() const { return false; }