3 * \file FormThesaurus.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
12 #ifndef FORMTHESAURUS_H
13 #define FORMTHESAURUS_H
18 class ControlThesaurus;
21 /** This class provides an XForms implementation of the Thesaurus dialog.
23 class FormThesaurus : public FormCB<ControlThesaurus, FormDB<FD_thesaurus> > {
29 virtual void apply() {}
33 virtual void update();
35 /// set the replace word properly
36 void setReplace(string const & templ, string const & nstr);
38 /// update browser entries
39 void updateMeanings(string const & str);
42 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
44 /// for double click handling
51 #endif // FORMTHESAURUS_H