]> Shamusworld >> Repos - architektonas/blobdiff - src/base/font.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / font.h
index f47d0cf949a9e9a18cca18bd2ea9d3e3dbce6560..f2e1bbfc8dabfab3404b399de4564871b7751a27 100644 (file)
  *
  * @author Andrew Mustun
  */
-class RS_Font
+class Font
 {
-    friend class RS_FontList;
+    friend class FontList;
 
        public:
-               RS_Font(const QString & name, bool owner = true);
+               Font(const QString & name, bool owner = true);
 
                QString getFileName() const;
                QString getEncoding() const;
@@ -29,12 +29,12 @@ class RS_Font
                bool loadFont();
 
                // Wrappers for block list (letters) functions
-               RS_BlockList * getLetterList();
-               RS_Block * findLetter(const QString & name);
+               BlockList * getLetterList();
+               Block * findLetter(const QString & name);
                uint countLetters();
-               RS_Block * letterAt(uint i);
+               Block * letterAt(uint i);
 
-               friend std::ostream & operator<<(std::ostream & os, const RS_Font & l);
+               friend std::ostream & operator<<(std::ostream & os, const Font & l);
 
 #if 1
        private:
@@ -44,7 +44,7 @@ class RS_Font
 
        private:
                //! block list (letters)
-               RS_BlockList letterList;
+               BlockList letterList;
                //! Font file name
                QString fileName;
                //! Font encoding (see docu for QTextCodec)