]> Shamusworld >> Repos - architektonas/blobdiff - src/base/actioninterface.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / actioninterface.h
index 7647b20438c9c1fe1fab76ce2c5eb2fcf9330d9d..a88ee89fa1855d7a7ec6043f0404ac0475b7115b 100644 (file)
@@ -2,13 +2,13 @@
 #define __ACTIONINTERFACE_H__
 
 #include <QtGui>
-#include "rs.h"
+#include "enums.h"
 
-class RS_CommandEvent;
-class RS_Document;
+class CommandEvent;
+class Document;
 class Drawing;
-class RS_Entity;
-class RS_EntityContainer;
+class Entity;
+class EntityContainer;
 class GraphicView;
 class Vector;
 
@@ -28,7 +28,7 @@ class ActionInterface: public QObject
 //mebbe... Well, that's what he says above. Though it would be just as easy to
 //prefix a QObject::tr in front of translated strings...
        public:
-               ActionInterface(const char * name, RS_EntityContainer &,
+               ActionInterface(const char * name, EntityContainer &,
                        GraphicView &);
                virtual ~ActionInterface();
 
@@ -41,7 +41,7 @@ class ActionInterface: public QObject
                virtual void keyPressEvent(QKeyEvent * e);
                virtual void keyReleaseEvent(QKeyEvent * e);
                virtual void coordinateEvent(Vector *);
-               virtual void commandEvent(RS_CommandEvent *);
+               virtual void commandEvent(CommandEvent *);
                virtual QStringList getAvailableCommands();
                virtual void setStatus(int status);
                virtual int getStatus();
@@ -63,8 +63,8 @@ class ActionInterface: public QObject
                QString msgAvailableCommands();
                //built-in for now, we'll see how it goes...
                Vector snapPoint(QMouseEvent *);
-               RS_Entity * catchEntity(QMouseEvent *, RS2::ResolveLevel level = RS2::ResolveNone);
-               RS_Entity * catchEntity(Vector, RS2::ResolveLevel level = RS2::ResolveNone);
+               Entity * catchEntity(QMouseEvent *, RS2::ResolveLevel level = RS2::ResolveNone);
+               Entity * catchEntity(Vector, RS2::ResolveLevel level = RS2::ResolveNone);
 #warning "!!! The following functions are DEPRECATED and only in place to help with porting.. !!!"
                void drawSnapper(void);
                void deleteSnapper(void);
@@ -99,7 +99,7 @@ class ActionInterface: public QObject
                /**
                 * Pointer to the document (graphic or block) or NULL.
                 */
-               RS_Document * document;
+               Document * document;
 
                /**
                 * Predecessor of this action or NULL.
@@ -107,7 +107,7 @@ class ActionInterface: public QObject
                ActionInterface * predecessor;
 
                GraphicView * graphicView;
-               RS_EntityContainer * container;
+               EntityContainer * container;
 };
 
 #endif // __ACTIONINTERFACE_H__