3 * \file FormThesaurus.h
4 * Copyright 2001 the LyX Team
5 * Read the file COPYING
7 * \author John Levon, moz@compsoc.man.ac.uk
10 #ifndef FORMTHESAURUS_H
11 #define FORMTHESAURUS_H
19 class ControlThesaurus;
22 /** This class provides an XForms implementation of the Thesaurus dialog.
24 class FormThesaurus : public FormCB<ControlThesaurus, FormDB<FD_thesaurus> > {
27 FormThesaurus(ControlThesaurus &);
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