]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiThesaurus.h
Improve wording (#10670)
[lyx.git] / src / frontends / qt4 / GuiThesaurus.h
index e5671fba36e756f5fee9cf7f0bb1a4c452851c3a..5fab7f69781279d9c38225f2387a245e048d8bac 100644 (file)
@@ -28,6 +28,8 @@ class GuiThesaurus : public GuiDialog, public Ui::ThesaurusUi
 public:
        GuiThesaurus(GuiView & lv);
 
+       void checkStatus();
+
 private Q_SLOTS:
        void change_adaptor();
        void entryChanged();
@@ -37,7 +39,6 @@ private Q_SLOTS:
        void itemClicked(QTreeWidgetItem *, int);
 
 private:
-       void closeEvent(QCloseEvent * e);
        /// update
        void updateContents();
        ///
@@ -55,7 +56,7 @@ private:
        void replace(docstring const & newstr);
 
        /// get meanings
-       Thesaurus::Meanings const & getMeanings(docstring const & str);
+       Thesaurus::Meanings const & getMeanings(WordLangTuple const & wl);
 
 private:
        /// last string looked up
@@ -67,6 +68,9 @@ private:
        /// original string
        docstring text_;
 
+       /// language
+       docstring lang_;
+
        /// not needed.
        void apply() {}
 };