]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSendto.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiSendto.h
index 644971fdc62cdb9c22b7a2edd6ad2d92d279c59b..38f0f531a780b0f16567a2a98c5e351f5cd029e9 100644 (file)
@@ -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.
  */
@@ -31,7 +31,7 @@ class GuiSendTo : public GuiDialog, public Ui::SendtoUi
        Q_OBJECT
 
 public:
-       GuiSendTo(LyXView & lv);
+       GuiSendTo(GuiView & lv);
 
 private Q_SLOTS:
        void changed_adaptor();
@@ -39,7 +39,6 @@ private Q_SLOTS:
        void slotFormatSelected(QListWidgetItem *) {}
 
 private:
-       void closeEvent(QCloseEvent * e);
        ///
        bool isValid();
        /// Apply from dialog
@@ -52,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<Format const *> allFormats() const;
+       FuncCode getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; }
 
 private:
        ///
        Format const * format_;
        ///
-       std::string command_;
+       QString command_;
 };
 
 } // namespace frontend