X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiSendto.h;h=38f0f531a780b0f16567a2a98c5e351f5cd029e9;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=095c24914295de2c806b6a1122d3052eda9eb142;hpb=64e0e5663b792585d7ae448fef3a89b209331c20;p=lyx.git diff --git a/src/frontends/qt4/GuiSendto.h b/src/frontends/qt4/GuiSendto.h index 095c249142..38f0f531a7 100644 --- a/src/frontends/qt4/GuiSendto.h +++ b/src/frontends/qt4/GuiSendto.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Angus Leeming - * \author Jürgen Spitzmüller + * \author Jürgen Spitzmüller * * Full author contact details are available in file CREDITS. */ @@ -26,12 +26,12 @@ class Format; namespace frontend { -class GuiSendTo : public GuiDialog, public Ui::SendtoUi, public Controller +class GuiSendTo : public GuiDialog, public Ui::SendtoUi { Q_OBJECT public: - GuiSendTo(LyXView & lv); + GuiSendTo(GuiView & lv); private Q_SLOTS: void changed_adaptor(); @@ -39,9 +39,6 @@ private Q_SLOTS: void slotFormatSelected(QListWidgetItem *) {} private: - void closeEvent(QCloseEvent * e); - /// parent controller - Controller & controller() { return *this; } /// bool isValid(); /// Apply from dialog @@ -54,22 +51,21 @@ private: /// bool initialiseParams(std::string const & data); /// + void paramsToDialog(Format const * format, QString const & command); + /// void clearParams() {} /// void dispatchParams(); /// bool isBufferDependent() const { return true; } /// - kb_action getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; } - - /// Return a vector of those formats that can be exported from "lyx". - std::vector allFormats() const; + FuncCode getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; } private: /// Format const * format_; /// - std::string command_; + QString command_; }; } // namespace frontend