]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiThesaurus.h
Fix handling of the add branch textfield in GuiBranches
[lyx.git] / src / frontends / qt4 / GuiThesaurus.h
index 2d0034bbdf965ea4aa2a955934703b43ad4c7b94..3cc45f099340334e4452522b9b63438316e33f3b 100644 (file)
@@ -16,6 +16,8 @@
 #include "Thesaurus.h"
 #include "ui_ThesaurusUi.h"
 
+#include "WordLangTuple.h"
+
 class QTreeWidgetItem;
 
 namespace lyx {
@@ -28,6 +30,8 @@ class GuiThesaurus : public GuiDialog, public Ui::ThesaurusUi
 public:
        GuiThesaurus(GuiView & lv);
 
+       void checkStatus();
+
 private Q_SLOTS:
        void change_adaptor();
        void entryChanged();
@@ -54,7 +58,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
@@ -66,6 +70,9 @@ private:
        /// original string
        docstring text_;
 
+       /// language
+       docstring lang_;
+
        /// not needed.
        void apply() {}
 };