]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/fontbox.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / widgets / fontbox.cpp
index b12812b406ef2588a5d06cc0fcb9ec043a310850..1e987cb8a5069230c474137585a3644f7b187276 100644 (file)
@@ -43,7 +43,7 @@ void FontBox::init()
 {
        QStringList fonts;
 
-       for(RS_Font * f=RS_FONTLIST->firstFont(); f!=NULL; f=RS_FONTLIST->nextFont())
+       for(Font * f=FONTLIST->firstFont(); f!=NULL; f=FONTLIST->nextFont())
                fonts.append(f->getFileName());
 
        fonts.sort();
@@ -58,7 +58,7 @@ void FontBox::init()
        slotFontChanged(currentIndex());
 }
 
-RS_Font * FontBox::getFont()
+Font * FontBox::getFont()
 {
        return currentFont;
 }
@@ -68,7 +68,7 @@ RS_Font * FontBox::getFont()
  */
 void FontBox::setFont(const QString & fName)
 {
-       RS_DEBUG->print("FontBox::setFont %s\n", fName.toLatin1().data());
+       DEBUG->print("FontBox::setFont %s\n", fName.toLatin1().data());
 //     setCurrentText(fName);
        setItemText(currentIndex(), fName);
 //     slotFontChanged(currentItem());
@@ -81,11 +81,11 @@ void FontBox::setFont(const QString & fName)
  */
 void FontBox::slotFontChanged(int index)
 {
-    RS_DEBUG->print("FontBox::slotFontChanged %d\n", index);
-    currentFont = RS_FONTLIST->requestFont(currentText());
+    DEBUG->print("FontBox::slotFontChanged %d\n", index);
+    currentFont = FONTLIST->requestFont(currentText());
 
     if (currentFont != NULL)
-        RS_DEBUG->print("Current font is (%d): %s\n", index, currentFont->getFileName().toLatin1().data());
+        DEBUG->print("Current font is (%d): %s\n", index, currentFont->getFileName().toLatin1().data());
 
     emit fontChanged(currentFont);
 }