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
21 class ControlThesaurus;
24 /** This class provides an XForms implementation of the Thesaurus dialog.
26 class FormThesaurus : public FormCB<ControlThesaurus, FormDB<FD_thesaurus> > {
32 virtual void apply() {}
36 virtual void update();
38 /// set the replace word properly
39 void setReplace(string const & templ, string const & nstr);
41 /// update browser entries
42 void updateMeanings(string const & str);
45 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
47 /// for double click handling
54 #endif // FORMTHESAURUS_H