]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionselectcontour.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actionselectcontour.cpp
index 648a1f2a418c9d42fdcdc2f34776bc877d2ce77a..66d6a7c19241509a0e6ef8d41439a03dfb3ba430 100644 (file)
@@ -21,7 +21,7 @@
 #include "graphicview.h"
 #include "selection.h"
 
-ActionSelectContour::ActionSelectContour(RS_EntityContainer & container,
+ActionSelectContour::ActionSelectContour(EntityContainer & container,
        GraphicView & graphicView):
        ActionInterface("Select Contours", container, graphicView)
 {
@@ -43,17 +43,17 @@ void ActionSelectContour::trigger()
        {
                if (en->isAtomic())
                {
-                       RS_Selection s(*container, graphicView);
+                       Selection s(*container, graphicView);
                        s.selectContour(en);
 
-                       if (RS_DIALOGFACTORY)
-                               RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+                       if (DIALOGFACTORY)
+                               DIALOGFACTORY->updateSelectionWidget(container->countSelected());
                }
-               else if (RS_DIALOGFACTORY)
-                       RS_DIALOGFACTORY->commandMessage(tr("Entity must be an Atomic Entity."));
+               else if (DIALOGFACTORY)
+                       DIALOGFACTORY->commandMessage(tr("Entity must be an Atomic Entity."));
        }
        else
-               RS_DEBUG->print("ActionSelectContour::trigger: Entity is NULL\n");
+               DEBUG->print("ActionSelectContour::trigger: Entity is NULL\n");
 }
 
 void ActionSelectContour::mouseReleaseEvent(QMouseEvent * e)