X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fqg_actionhandler.h;h=ba86f020aa25900f9530f38c9082de40fab47d96;hb=d774c2655ba2c3657a565f325411144452392277;hp=69cc5e616626115d40e3df16cb854fc7d34654ae;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/widgets/qg_actionhandler.h b/src/widgets/qg_actionhandler.h index 69cc5e6..ba86f02 100644 --- a/src/widgets/qg_actionhandler.h +++ b/src/widgets/qg_actionhandler.h @@ -2,11 +2,11 @@ #define QG_ACTIONHANDLER_H #include -#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: