]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/layerbox.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / widgets / layerbox.cpp
index 8024476fbf27765806d0be33f453a0b73bb834ea..b6e865aac175620e900dd81ab66687f444be3604 100644 (file)
@@ -39,7 +39,7 @@ LayerBox::~LayerBox()
 {
 }
 
-RS_Layer * LayerBox::getLayer()
+Layer * LayerBox::getLayer()
 {
        return currentLayer;
 }
@@ -51,7 +51,7 @@ RS_Layer * LayerBox::getLayer()
  *                  available.
  * @param showByBlock true: Show attribute ByBlock.
  */
-void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchanged)
+void LayerBox::init(LayerList & layerList, bool showByBlock, bool showUnchanged)
 {
        this->showByBlock = showByBlock;
        this->showUnchanged = showUnchanged;
@@ -63,7 +63,7 @@ void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchang
 
        for(uint i=0; i<layerList.count(); ++i)
        {
-               RS_Layer * lay = layerList.at(i);
+               Layer * lay = layerList.at(i);
 
                if (lay != NULL && (lay->getName() != "ByBlock" || showByBlock))
 //                     insertItem(lay->getName());
@@ -78,7 +78,7 @@ void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchang
 /**
  * Sets the layer shown in the combobox to the given layer.
  */
-void LayerBox::setLayer(RS_Layer & layer)
+void LayerBox::setLayer(Layer & layer)
 {
        currentLayer = &layer;