]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiThesaurus.h
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiThesaurus.h
index 4a3d5f92104712a135e6e992ba6591f5d8de53c6..17f9ebf1797e1a8df6b79196f7aa8edaa344c260 100644 (file)
@@ -26,7 +26,9 @@ class GuiThesaurus : public GuiDialog, public Ui::ThesaurusUi
        Q_OBJECT
 
 public:
-       GuiThesaurus(LyXView & lv);
+       GuiThesaurus(GuiView & lv);
+
+       void checkStatus();
 
 private Q_SLOTS:
        void change_adaptor();
@@ -37,7 +39,6 @@ private Q_SLOTS:
        void itemClicked(QTreeWidgetItem *, int);
 
 private:
-       void closeEvent(QCloseEvent * e);
        /// update
        void updateContents();
        ///
@@ -55,7 +56,8 @@ private:
        void replace(docstring const & newstr);
 
        /// get meanings
-       Thesaurus::Meanings const & getMeanings(docstring const & str);
+       Thesaurus::Meanings const & getMeanings(docstring const & str,
+               docstring const & lang);
 
 private:
        /// last string looked up
@@ -67,6 +69,9 @@ private:
        /// original string
        docstring text_;
 
+       /// language
+       docstring lang_;
+
        /// not needed.
        void apply() {}
 };