4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
8 * \author Jürgen Spitzmüller
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
17 #include "ui_SendtoUi.h"
21 class QListWidgetItem;
29 class GuiSendTo : public GuiDialog, public Ui::SendtoUi
34 GuiSendTo(GuiView & lv);
37 void changed_adaptor();
38 void slotFormatHighlighted(QListWidgetItem *) {}
39 void slotFormatSelected(QListWidgetItem *) {}
47 void updateContents();
50 std::vector<Format const *> all_formats_;
52 bool initialiseParams(std::string const & data);
56 void dispatchParams();
58 bool isBufferDependent() const { return true; }
60 FuncCode getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; }
62 /// Return a vector of those formats that can be exported from "lyx".
63 std::vector<Format const *> allFormats() const;
67 Format const * format_;
72 } // namespace frontend