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
15 #include "FormDialogView.h"
17 class ControlThesaurus;
20 /** This class provides an XForms implementation of the Thesaurus dialog.
23 : public FormController<ControlThesaurus, FormView<FD_thesaurus> > {
26 FormThesaurus(Dialog &);
29 virtual void apply() {}
33 virtual void update();
35 /// set the replace word properly
36 void setReplace(std::string const & templ, std::string const & nstr);
38 /// update browser entries
39 void updateMeanings(std::string const & str);
42 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
44 /// for double click handling
51 #endif // FORMTHESAURUS_H