]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionselectall.h
Major refactoring of actions: Moved implementation from header files
[architektonas] / src / actions / rs_actionselectall.h
index d032c438a80c90c7a7bba6132bc6f8929746c4a1..c12d0289f8da73b98f7d85a193102886c34e4f9e 100644 (file)
@@ -3,31 +3,23 @@
 
 #include "rs_actioninterface.h"
 
-
 /**
  * This action class can handle user events to select all entities.
  *
  * @author Andrew Mustun
  */
-class RS_ActionSelectAll : public RS_ActionInterface {
-       //Q_OBJECT
-public:
-    RS_ActionSelectAll(RS_EntityContainer& container,
-                       RS_GraphicView& graphicView,
-                       bool select);
-    ~RS_ActionSelectAll() {}
-
-       static QAction* createGUIAction(RS2::ActionType type, QObject* parent);
-
-       virtual RS2::ActionType rtti() {
-               return RS2::ActionSelectAll;
-       }
-
-    void init(int status);
-    virtual void trigger();
-
-protected:
-    bool select;
+class RS_ActionSelectAll: public RS_ActionInterface
+{
+       public:
+               RS_ActionSelectAll(RS_EntityContainer & container, RS_GraphicView & graphicView, bool select);
+               ~RS_ActionSelectAll();
+
+               virtual RS2::ActionType rtti();
+               void init(int status);
+               virtual void trigger();
+
+       protected:
+               bool select;
 };
 
 #endif