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 *) {}
42 void closeEvent(QCloseEvent * e);
48 void updateContents();
51 std::vector<Format const *> all_formats_;
53 bool initialiseParams(std::string const & data);
57 void dispatchParams();
59 bool isBufferDependent() const { return true; }
61 kb_action getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; }
63 /// Return a vector of those formats that can be exported from "lyx".
64 std::vector<Format const *> allFormats() const;
68 Format const * format_;
73 } // namespace frontend