X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Feventhandler.h;h=4651a8971e947828ea8a2635baeae01bf6e4364d;hb=2ee84c5948ede7fc2f7b4435c5edef42a030ac05;hp=aab7f3931d2eed39ed2800a025e0b498902504c2;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/base/eventhandler.h b/src/base/eventhandler.h index aab7f39..4651a89 100644 --- a/src/base/eventhandler.h +++ b/src/base/eventhandler.h @@ -2,12 +2,12 @@ #define __EVENTHANDLER_H__ #include -#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);