]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_actioninterface.h
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_actioninterface.h
index 8b16095d98e57255722a06c4c6a6a7d0ab15d4ec..c2daeb188d2e412db231691d8cbb950fb095d567 100644 (file)
@@ -8,7 +8,7 @@ class RS_CommandEvent;
 class RS_Document;
 class Drawing;
 class RS_EntityContainer;
-class RS_GraphicView;
+class GraphicView;
 class Vector;
 
 /**
@@ -25,9 +25,10 @@ class RS_ActionInterface: public QObject, public RS_Snapper
 //huh? no slots/signals here...    Q_OBJECT
 //WHY derive from QObject???
 //for the TR macro???
+//mebbe...
        public:
                RS_ActionInterface(const char * name, RS_EntityContainer & container,
-                       RS_GraphicView & graphicView);
+                       GraphicView & graphicView);
                virtual ~RS_ActionInterface();
 
                virtual RS2::ActionType rtti();
@@ -38,7 +39,6 @@ class RS_ActionInterface: public QObject, public RS_Snapper
                virtual void mouseReleaseEvent(QMouseEvent *);
                virtual void keyPressEvent(QKeyEvent * e);
                virtual void keyReleaseEvent(QKeyEvent * e);
-//             virtual void coordinateEvent(RS_CoordinateEvent *);
                virtual void coordinateEvent(Vector *);
                virtual void commandEvent(RS_CommandEvent *);
                virtual QStringList getAvailableCommands();