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, public Controller
34 GuiSendTo(LyXView & lv);
37 void changed_adaptor();
38 void slotFormatHighlighted(QListWidgetItem *) {}
39 void slotFormatSelected(QListWidgetItem *) {}
42 void closeEvent(QCloseEvent * e);
44 Controller & controller() { return *this; }
50 void updateContents();
53 std::vector<Format const *> all_formats_;
55 bool initialiseParams(std::string const & data);
59 void dispatchParams();
61 bool isBufferDependent() const { return true; }
63 kb_action getLfun() const { return LFUN_BUFFER_EXPORT_CUSTOM; }
65 /// Return a vector of those formats that can be exported from "lyx".
66 std::vector<Format const *> allFormats() const;
70 Format const * format_;
75 } // namespace frontend