]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSendto.h
Compil fix.
[lyx.git] / src / frontends / qt4 / GuiSendto.h
index 095c24914295de2c806b6a1122d3052eda9eb142..5e30bb868aa62267387a31249c03f40659b0695c 100644 (file)
@@ -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
@@ -60,7 +57,7 @@ private:
        ///
        bool isBufferDependent() const { return true; }
        ///
-       kb_action getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; }
+       FuncCode 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;
@@ -69,7 +66,7 @@ private:
        ///
        Format const * format_;
        ///
-       std::string command_;
+       QString command_;
 };
 
 } // namespace frontend