4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
15 // Must be here because of moc.
18 #include "frontends/LyXView.h"
19 #include "funcrequest.h"
31 * Action - Qt interface with LyX' FuncRequest.
33 * Action can be used in LyX menubar and/or toolbars.
35 class Action: public QAction {
39 Action(LyXView & lyxView, std::string const & text,
40 FuncRequest const & func, std::string const & tooltip="");
42 Action(LyXView & lyxView, std::string const & icon, std::string const & text,
43 FuncRequest const & func, std::string const & tooltip="");
47 // void setAction(FuncRequest const & func);
53 FuncRequest const & func_ ;
59 } // namespace frontend