]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/rs_actionzoomin.h
Major refactoring of actions: Moved implementation from header files
[architektonas] / src / actions / rs_actionzoomin.h
index 64e1bab59660b30412fe64716ac7356ed2281072..68abaebb44640e5a55854ef71923db18c4f1dabc 100644 (file)
@@ -1,23 +1,20 @@
 #ifndef RS_ACTIONZOOMIN_H
 #define RS_ACTIONZOOMIN_H
 
+#include "rs.h"
 #include "rs_actioninterface.h"
+#include "vector.h"
 
 /**
  * This action triggers zoom increase.
  *
  * @author Andrew Mustun
  */
-class RS_ActionZoomIn : public RS_ActionInterface
+class RS_ActionZoomIn: public RS_ActionInterface
 {
-       //Q_OBJECT
        public:
-               RS_ActionZoomIn(RS_EntityContainer& container, RS_GraphicView& graphicView,
-                       RS2::ZoomDirection direction = RS2::In, RS2::Axis axis = RS2::Both,
-                       const Vector& center = Vector(false));
-               ~RS_ActionZoomIn() {}
-
-               static QAction * createGUIAction(RS2::ActionType type, QObject * /*parent*/);
+               RS_ActionZoomIn(RS_EntityContainer & container, RS_GraphicView & graphicView, RS2::ZoomDirection direction = RS2::In, RS2::Axis axis = RS2::Both, const Vector & center = Vector(false));
+               ~RS_ActionZoomIn();
 
                virtual void init(int status = 0);
                virtual void trigger();