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.
26 * Action - Qt interface with LyX' FuncRequest.
28 * Action can be used in LyX menubar and/or toolbars.
30 class Action : public QAction
35 Action(GuiViewBase & lyxView, QString const & icon, QString const & text,
36 FuncRequest const & func, QString const & tooltip);
41 /// the current action is triggered
42 void triggered(QAction *);
48 FuncRequest const & func_ ;
49 GuiViewBase & lyxView_;
53 } // namespace frontend