X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormSendto.C;h=7fd0484ca845ffacb612cd4c346fe74fd73517ea;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=6c86a2cfd6514099d62de974f19936541e738fdc;hpb=b538a4c8fefd6831cd660265c7ba04ad4cf0d0f2;p=lyx.git diff --git a/src/frontends/xforms/FormSendto.C b/src/frontends/xforms/FormSendto.C index 6c86a2cfd6..7fd0484ca8 100644 --- a/src/frontends/xforms/FormSendto.C +++ b/src/frontends/xforms/FormSendto.C @@ -24,15 +24,19 @@ #include "lyx_forms.h" -using namespace lyx::support; - using std::vector; +using std::string; + +namespace lyx { +using support::trim; -typedef FormCB > base_class; +namespace frontend { -FormSendto::FormSendto() - : base_class(_("Send document to command")) +typedef FormController > base_class; + +FormSendto::FormSendto(Dialog & parent) + : base_class(parent, _("Send document to command")) {} @@ -117,3 +121,6 @@ void FormSendto::apply() controller().setFormat(all_formats_[line-1]); controller().setCommand(cmd); } + +} // namespace frontend +} // namespace lyx