]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionmodifyentity.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actionmodifyentity.cpp
index e4ca1bc3ad1b0d62b3d891e4f0ae53fb3e124a6e..167cb6a1158b60f5bd8e3abda5da712ba061743c 100644 (file)
 
 /*
 Program received signal SIGSEGV, Segmentation fault.
-0x080d0fd1 in PaintInterface::fillRect(int, int, int, int, RS_Color const&) ()
+0x080d0fd1 in PaintInterface::fillRect(int, int, int, int, Color const&) ()
 (gdb) bt
-#0  0x080d0fd1 in PaintInterface::fillRect(int, int, int, int, RS_Color const&)
+#0  0x080d0fd1 in PaintInterface::fillRect(int, int, int, int, Color const&)
     ()
-#1  0x080cf523 in PaintInterface::drawHandle(Vector const&, RS_Color const&, int) ()
-#2  0x0822d7e0 in GraphicView::drawEntity(RS_Entity*, double, bool) ()
-#3  0x0822d9a0 in GraphicView::deleteEntity(RS_Entity*) ()
+#1  0x080cf523 in PaintInterface::drawHandle(Vector const&, Color const&, int) ()
+#2  0x0822d7e0 in GraphicView::drawEntity(Entity*, double, bool) ()
+#3  0x0822d9a0 in GraphicView::deleteEntity(Entity*) ()
 #4  0x081334dc in ActionModifyEntity::trigger() ()
 #5  0x081336ef in ActionModifyEntity::mouseReleaseEvent(QMouseEvent*) ()
-#6  0x08089d2a in RS_EventHandler::mouseReleaseEvent(QMouseEvent*) ()
+#6  0x08089d2a in EventHandler::mouseReleaseEvent(QMouseEvent*) ()
 #7  0x0822a482 in GraphicView::mouseReleaseEvent(QMouseEvent*) ()
 #8  0x081eb00a in QG_GraphicView::mouseReleaseEvent(QMouseEvent*) ()
 #9  0xb77063c1 in QWidget::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
@@ -60,7 +60,7 @@ Program received signal SIGSEGV, Segmentation fault.
 #include "dialogfactory.h"
 #include "graphicview.h"
 
-ActionModifyEntity::ActionModifyEntity(RS_EntityContainer & container,
+ActionModifyEntity::ActionModifyEntity(EntityContainer & container,
        GraphicView & graphicView):
        ActionInterface("Modify Entity", container, graphicView), en(NULL)
 {
@@ -75,13 +75,13 @@ void ActionModifyEntity::trigger()
 {
        if (!en)
        {
-               RS_DEBUG->print("ActionModifyEntity::trigger: Entity is NULL\n");
+               DEBUG->print("ActionModifyEntity::trigger: Entity is NULL\n");
                return;
        }
 
-       RS_Entity * clone = en->clone();
+       Entity * clone = en->clone();
 
-       if (RS_DIALOGFACTORY->requestModifyEntityDialog(clone))
+       if (DIALOGFACTORY->requestModifyEntityDialog(clone))
        {
                container->addEntity(clone);
 #warning "!!! Old rendering path need upgrade !!!"
@@ -102,7 +102,7 @@ void ActionModifyEntity::trigger()
                        document->endUndoCycle();
                }
 
-               RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+               DIALOGFACTORY->updateSelectionWidget(container->countSelected());
        }
        else
                delete clone;