X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormThesaurus.h;h=99923dcad5afdcc2c666f4a309c0887dde1dfbdb;hb=27652900a60fd078f161ce866ddaed21dba21eff;hp=897c667a184132cfb225eddf8224acb37c9ea792;hpb=80dda8f6b28db89f517be8dcae19a27bcb0cc7a5;p=lyx.git diff --git a/src/frontends/xforms/FormThesaurus.h b/src/frontends/xforms/FormThesaurus.h index 897c667a18..99923dcad5 100644 --- a/src/frontends/xforms/FormThesaurus.h +++ b/src/frontends/xforms/FormThesaurus.h @@ -17,7 +17,7 @@ #include "FormBase.h" class ControlThesaurus; -struct FD_form_tabbed_thesaurus; +struct FD_form_thesaurus; struct FD_form_noun; struct FD_form_verb; struct FD_form_adjective; @@ -26,7 +26,7 @@ struct FD_form_other; /** This class provides an XForms implementation of the Thesaurus dialog. */ -class FormThesaurus : public FormCB > { +class FormThesaurus : public FormCB > { public: /// FormThesaurus(ControlThesaurus &); @@ -38,33 +38,19 @@ private: virtual void build(); /// update dialog virtual void update(); - /// redraw - virtual void redraw(); + + /// dialog build + FD_form_thesaurus * build_thesaurus(); /// set the replace word properly void setReplace(const string & templ, const string & nstr); /// update browser entries - void updateEntries(const string & str); + void updateMeanings(const string & str); /// Filter the inputs virtual ButtonPolicy::SMInput input(FL_OBJECT *, long); - /// Fdesign generated methods - FD_form_tabbed_thesaurus * build_tabbed_thesaurus(); - FD_form_noun * build_noun(); - FD_form_verb * build_verb(); - FD_form_adjective * build_adjective(); - FD_form_adverb * build_adverb(); - FD_form_other * build_other(); - - /// Real GUI implementations of sub-forms - boost::scoped_ptr noun_; - boost::scoped_ptr verb_; - boost::scoped_ptr adjective_; - boost::scoped_ptr adverb_; - boost::scoped_ptr other_; - /// for double click handling int clickline_;