]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/pentoolbar.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / widgets / pentoolbar.cpp
index 8897167cb2cdfa09c27c982fac63d2ce45e22300..fa6caee8142d6f98dac6f17e20630f052d94a4e0 100644 (file)
@@ -38,8 +38,8 @@ PenToolBar::PenToolBar(QMainWindow * parent/*= NULL*/, const char * name/*= NULL
        widthBox->setMinimumWidth(80);
        lineTypeBox->setMinimumWidth(80);
 
-       connect(colorBox, SIGNAL(colorChanged(const RS_Color &)), this,
-               SLOT(slotColorChanged(const RS_Color &)));
+       connect(colorBox, SIGNAL(colorChanged(const Color &)), this,
+               SLOT(slotColorChanged(const Color &)));
        connect(widthBox, SIGNAL(widthChanged(RS2::LineWidth)), this,
                SLOT(slotWidthChanged(RS2::LineWidth)));
        connect(lineTypeBox, SIGNAL(lineTypeChanged(RS2::LineType)), this,
@@ -64,7 +64,7 @@ PenToolBar::~PenToolBar()
        delete lineTypeBox;
 }
 
-RS_Pen PenToolBar::getPen()
+Pen PenToolBar::getPen()
 {
        return currentPen;
 }
@@ -73,7 +73,7 @@ RS_Pen PenToolBar::getPen()
  * Called by the layer list if this object was added as a listener
  * to a layer list.
  */
-void PenToolBar::layerActivated(RS_Layer * l)
+void PenToolBar::layerActivated(Layer * l)
 {
        //printf("PenToolBar::layerActivated\n");
 
@@ -97,14 +97,14 @@ void PenToolBar::layerActivated(RS_Layer * l)
  * Called by the layer list (if this object was previously
  * added as a listener to a layer list).
  */
-void PenToolBar::layerEdited(RS_Layer *)
+void PenToolBar::layerEdited(Layer *)
 {
 }
 
 /**
  * Called when the color was changed by the user.
  */
-void PenToolBar::slotColorChanged(const RS_Color & color)
+void PenToolBar::slotColorChanged(const Color & color)
 {
        currentPen.setColor(color);
        //printf("  color changed\n");