]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_actionhandler.h
In the middle of major refactoring...
[architektonas] / src / widgets / qg_actionhandler.h
index 69cc5e616626115d40e3df16cb854fc7d34654ae..ba86f020aa25900f9530f38c9082de40fab47d96 100644 (file)
@@ -2,11 +2,11 @@
 #define QG_ACTIONHANDLER_H
 
 #include <QtGui>
-#include "rs_document.h"
-#include "qg_graphicview.h"
+#include "rs.h"
 
 class QG_MainWindowInterface;
 class CadToolBarSnap;
+class ActionInterface;
 
 /**
  * This class can trigger actions (from menus, buttons, ...).
@@ -19,8 +19,8 @@ class QG_ActionHandler: public QObject
                QG_ActionHandler(QG_MainWindowInterface * mw);
                virtual ~QG_ActionHandler();
 
-               RS_ActionInterface * getCurrentAction();
-               RS_ActionInterface * setCurrentAction(RS2::ActionType id);
+               ActionInterface * getCurrentAction();
+               ActionInterface * setCurrentAction(RS2::ActionType id);
                void killSelectActions();
 
                bool keycode(const QString & code);
@@ -205,7 +205,6 @@ class QG_ActionHandler: public QObject
                void setActionRestrictVertical(QAction * a);
                void setActionLockRelativeZero(QAction * a);
 
-//             void setCadToolBarSnap(QG_CadToolBarSnap * tb);
                void setCadToolBarSnap(CadToolBarSnap * tb);
 
        private: