]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionselectsingle.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actionselectsingle.cpp
index 1c6843bd9de70bd7db240a78cdde54e6f619482a..468e721bd288f5b1a4b9837c4abfb8882fbaab83 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
 
 #include "actionselectsingle.h"
 
-#include "rs_dialogfactory.h"
-#include "rs_selection.h"
+#include "debug.h"
+#include "dialogfactory.h"
+#include "graphicview.h"
+#include "selection.h"
 
-ActionSelectSingle::ActionSelectSingle(RS_EntityContainer & container, GraphicView & graphicView):
+ActionSelectSingle::ActionSelectSingle(EntityContainer & container, GraphicView & graphicView):
        ActionInterface("Select Entities", container, graphicView)
 {
        en = NULL;
@@ -36,13 +40,13 @@ void ActionSelectSingle::trigger()
 {
        if (en != NULL)
        {
-               RS_Selection s(*container, graphicView);
+               Selection s(*container, graphicView);
                s.selectSingle(en);
 
-               RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+               DIALOGFACTORY->updateSelectionWidget(container->countSelected());
        }
        else
-               RS_DEBUG->print("ActionSelectSingle::trigger: Entity is NULL\n");
+               DEBUG->print("ActionSelectSingle::trigger: Entity is NULL\n");
 }
 
 void ActionSelectSingle::keyPressEvent(QKeyEvent * e)