]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/widthbox.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / widgets / widthbox.cpp
index f175aabaa8c22278243d768fdd0003ca08e62381..e18461a2d27d895cef8a4e1c2956a862755db210 100644 (file)
@@ -107,7 +107,7 @@ RS2::LineWidth WidthBox::getWidth()
  */
 void WidthBox::setWidth(RS2::LineWidth w)
 {
-       RS_DEBUG->print("WidthBox::setWidth %d\n", (int)w);
+       DEBUG->print("WidthBox::setWidth %d\n", (int)w);
        int offset = (int)showByLayer * 2 + (int)showUnchanged;
 
        switch (w)
@@ -116,13 +116,13 @@ void WidthBox::setWidth(RS2::LineWidth w)
                if (showByLayer)
                        setCurrentIndex(0 + (int)showUnchanged);
                else
-                       RS_DEBUG->print(RS_Debug::D_WARNING, "WidthBox::setWidth: Unsupported width.");
+                       DEBUG->print(Debug::D_WARNING, "WidthBox::setWidth: Unsupported width.");
                break;
        case RS2::WidthByBlock:
                if (showByLayer)
                        setCurrentIndex(1 + (int)showUnchanged);
                else
-                       RS_DEBUG->print(RS_Debug::D_WARNING, "WidthBox::setWidth: Unsupported width.");
+                       DEBUG->print(Debug::D_WARNING, "WidthBox::setWidth: Unsupported width.");
                break;
        case RS2::WidthDefault:
                setCurrentIndex(0 + offset);
@@ -292,7 +292,7 @@ bool WidthBox::isUnchanged()
  */
 void WidthBox::slotWidthChanged(int index)
 {
-       RS_DEBUG->print("WidthBox::slotWidthChanged %d\n", index);
+       DEBUG->print("WidthBox::slotWidthChanged %d\n", index);
 
        bool done = false;
 
@@ -407,7 +407,7 @@ void WidthBox::slotWidthChanged(int index)
        //currentWidth = (RS2::LineWidth)(currentText().left(4).toDouble()*100);
        //}
 
-       RS_DEBUG->print("Current width is (%d): %d\n", index, ((int)currentWidth));
+       DEBUG->print("Current width is (%d): %d\n", index, ((int)currentWidth));
 
        emit widthChanged(currentWidth);
 }