]> Shamusworld >> Repos - architektonas/blobdiff - src/base/patternlist.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / patternlist.h
index 06902037957a86319556edc35a7f86effeef5bbf..1661b3b3ba5024d0c3cb869c97c2f78be55347b5 100644 (file)
@@ -5,42 +5,42 @@
 #include "pattern.h"
 #include "entity.h"
 
-#define RS_PATTERNLIST RS_PatternList::instance()
+#define PATTERNLIST PatternList::instance()
 
 /**
  * The global list of patterns. This is implemented as a singleton.
- * Use RS_PatternList::instance() to get a pointer to the object.
+ * Use PatternList::instance() to get a pointer to the object.
  *
  * @author James Hammons
  * @author Andrew Mustun
  */
-class RS_PatternList
+class PatternList
 {
        protected:
-               RS_PatternList();
+               PatternList();
 
        public:
-               virtual ~RS_PatternList();
+               virtual ~PatternList();
 
-               static RS_PatternList * instance();
+               static PatternList * instance();
                void init();
                void clearPatterns();
                int countPatterns();
-               virtual void removePattern(RS_Pattern * pattern);
-               RS_Pattern * requestPattern(const QString & name);
-               RS_Pattern * firstPattern();
-               RS_Pattern * nextPattern();
+               virtual void removePattern(Pattern * pattern);
+               Pattern * requestPattern(const QString & name);
+               Pattern * firstPattern();
+               Pattern * nextPattern();
                bool contains(const QString & name);
 
-               friend std::ostream & operator<<(std::ostream & os, RS_PatternList & l);
+               friend std::ostream & operator<<(std::ostream & os, PatternList & l);
 
        protected:
-               static RS_PatternList * uniqueInstance;
+               static PatternList * uniqueInstance;
 
        private:
                //! patterns in the graphic
-               QList<RS_Pattern *> patterns;
-               QListIterator<RS_Pattern *> patternIterator;
+               QList<Pattern *> patterns;
+               QListIterator<Pattern *> patternIterator;
 };
 
 #endif // __PATTERNLIST_H__