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 #include "frontends/LyXView.h"
16 #include "funcrequest.h"
28 * Action - Qt interface with LyX' FuncRequest.
30 * Action can be used in LyX menubar and/or toolbars.
32 class Action: public QAction {
36 Action(LyXView & lyxView, std::string const & text,
37 FuncRequest const & func, std::string const & tooltip="");
39 Action(LyXView & lyxView, std::string const & icon, std::string const & text,
40 FuncRequest const & func, std::string const & tooltip="");
44 // void setAction(FuncRequest const & func);
50 FuncRequest const & func_ ;
56 } // namespace frontend