]> Shamusworld >> Repos - architektonas/blobdiff - src/base/eventhandler.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / eventhandler.h
index aab7f3931d2eed39ed2800a025e0b498902504c2..4651a8971e947828ea8a2635baeae01bf6e4364d 100644 (file)
@@ -2,12 +2,12 @@
 #define __EVENTHANDLER_H__
 
 #include <QtGui>
-#include "rs.h"
+#include "enums.h"
 
 #define RS_MAXACTIONS 16
 
 class ActionInterface;
-class RS_CommandEvent;
+class CommandEvent;
 class GraphicView;
 
 /**
@@ -15,11 +15,11 @@ class GraphicView;
  * active. All events going from the view to the actions come over
  * this class.
  */
-class RS_EventHandler
+class EventHandler
 {
        public:
-               RS_EventHandler(GraphicView * graphicView);
-               ~RS_EventHandler();
+               EventHandler(GraphicView * graphicView);
+               ~EventHandler();
 
                void back();
                void enter();
@@ -30,7 +30,7 @@ class RS_EventHandler
                void mouseEnterEvent();
                void keyPressEvent(QKeyEvent * e);
                void keyReleaseEvent(QKeyEvent * e);
-               void commandEvent(RS_CommandEvent * e);
+               void commandEvent(CommandEvent * e);
                void enableCoordinateInput();
                void disableCoordinateInput();
                void setDefaultAction(ActionInterface * action);