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> > {
30 virtual void apply() {}
34 virtual void update();
36 /// set the replace word properly
37 void setReplace(string const & templ, string const & nstr);
39 /// update browser entries
40 void updateMeanings(string const & str);
43 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
45 /// for double click handling
52 #endif // FORMTHESAURUS_H