]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionselectinvert.cpp
Phase two of adding polyline functionality...
[architektonas] / src / actions / actionselectinvert.cpp
index ef1e6c2b68a97831d7add861a5db97d77d71cfd8..ecd20f9daba0462042c6898c6f05aca7e62e6fd1 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 "actionselectinvert.h"
 
-#include "rs_dialogfactory.h"
-#include "rs_selection.h"
+#include "dialogfactory.h"
+#include "selection.h"
 
-ActionSelectInvert::ActionSelectInvert(RS_EntityContainer & container,
+ActionSelectInvert::ActionSelectInvert(EntityContainer & container,
        GraphicView & graphicView): ActionInterface("Invert Selection",
                container, graphicView)
 {
@@ -41,8 +43,8 @@ void ActionSelectInvert::init(int status)
 
 void ActionSelectInvert::trigger()
 {
-       RS_Selection s(*container, graphicView);
+       Selection s(*container, graphicView);
        s.invertSelection();
 
-       RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+       DIALOGFACTORY->updateSelectionWidget(container->countSelected());
 }