]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondefault.h
Initial phase of adding polyline functionality. DOES NOT COMPILE.
[architektonas] / src / actions / actiondefault.h
index c02bfe09a60598ca8dd2ff69f9c71e93f2515c44..6d126ca89b12f2df36c202101cd50d4c24df4312 100644 (file)
@@ -17,17 +17,17 @@ class ActionDefault: public ActionInterface
                 * Action States.
                 */
                enum Status {
-                       Neutral, /**< we don't know what we do yet.  */
-                       Dragging, /**< dragging (either an entity or the
-                                            first part of a selection window) */
-                       SetCorner2, /**< Setting the 2nd corner of a selection window. */
-                       Moving, /**< Moving entities (drag'n'drop) */
-                       MovingRef /**< Moving a reference point of one or more selected
-                                            entities */
+                       Neutral,        /**< we don't know what we do yet.  */
+                       Dragging,       /**< dragging (either an entity or the
+                                                       first part of a selection window) */
+                       SetCorner2,     /**< Setting the 2nd corner of a selection window. */
+                       Moving,         /**< Moving entities (drag'n'drop) */
+                       MovingRef       /**< Moving a reference point of one or more selected
+                                                       entities */
                };
 
        public:
-               ActionDefault(RS_EntityContainer & container, GraphicView & graphicView);
+               ActionDefault(EntityContainer & container, GraphicView & graphicView);
                virtual ~ActionDefault();
 
                virtual RS2::ActionType rtti();
@@ -38,7 +38,7 @@ class ActionDefault: public ActionInterface
                virtual void mouseMoveEvent(QMouseEvent * e);
                virtual void mousePressEvent(QMouseEvent * e);
                virtual void mouseReleaseEvent(QMouseEvent * e);
-               virtual void commandEvent(RS_CommandEvent * e);
+               virtual void commandEvent(CommandEvent * e);
                virtual QStringList getAvailableCommands();
                virtual void updateMouseButtonHints();
                virtual void updateMouseCursor();