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
16 #include "FormDialogView.h"
19 class ControlThesaurus;
22 /** This class provides an XForms implementation of the Thesaurus dialog.
25 : public FormController<ControlThesaurus, FormView<FD_thesaurus> > {
28 FormThesaurus(Dialog &);
31 virtual void apply() {}
35 virtual void update();
37 /// set the replace word properly
38 void setReplace(string const & templ, string const & nstr);
40 /// update browser entries
41 void updateMeanings(string const & str);
44 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
46 /// for double click handling
53 #endif // FORMTHESAURUS_H