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"
18 #include "support/docstring.h"
32 * Action - Qt interface with LyX' FuncRequest.
34 * Action can be used in LyX menubar and/or toolbars.
36 class Action: public QAction {
40 Action(GuiView & lyxView, lyx::docstring const & text,
41 FuncRequest const & func, lyx::docstring const & tooltip = lyx::docstring());
43 Action(GuiView & lyxView, std::string const & icon, lyx::docstring const & text,
44 FuncRequest const & func, lyx::docstring const & tooltip = lyx::docstring());
48 // void setAction(FuncRequest const & func);
54 FuncRequest const & func_ ;
59 } // namespace frontend