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"
30 * Action - Qt interface with LyX' FuncRequest.
32 * Action can be used in LyX menubar and/or toolbars.
34 class Action: public QAction {
38 Action(LyXView & lyxView, lyx::docstring const & text,
39 FuncRequest const & func, lyx::docstring const & tooltip = lyx::docstring());
41 Action(LyXView & lyxView, std::string const & icon, lyx::docstring const & text,
42 FuncRequest const & func, lyx::docstring const & tooltip = lyx::docstring());
46 // void setAction(FuncRequest const & func);
52 FuncRequest const & func_ ;
58 } // namespace frontend