]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Action.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / Action.h
index ecefbfe958d56e83f109ae324e7ce77c58edda95..54954c690070cd6fed36058036e6f55cebdbc1a5 100644 (file)
 
 #include <QAction>
 
+class QIcon;
+
 namespace lyx {
 
 class FuncRequest;
 
 namespace frontend {
 
-class GuiViewBase;
-
 /**
  * Action - Qt interface with LyX' FuncRequest.
  *
@@ -32,8 +32,8 @@ class Action : public QAction
        Q_OBJECT
 
 public:
-       Action(GuiViewBase & lyxView, QString const & icon, QString const & text,
-               FuncRequest const & func, QString const & tooltip);
+       Action(QIcon const & icon, QString const & text,
+               FuncRequest const & func, QString const & tooltip, QObject * parent);
 
        void update();
 
@@ -46,7 +46,6 @@ private Q_SLOTS:
 
 private:
        FuncRequest const & func_ ;
-       GuiViewBase & lyxView_;
 };