]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/widgetpen.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / widgetpen.cpp
index 37e8a4dab62eae2129c0a15d6d44df0181d80584..0e11c5daeceb6259a673f3847e37bbb27cd60972 100644 (file)
@@ -1,8 +1,11 @@
 // widgetpen.cpp
 //
+// Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -23,7 +26,7 @@ WidgetPen::~WidgetPen()
 {
 }
 
-void WidgetPen::setPen(RS_Pen pen, bool showByLayer, bool showUnchanged, const QString & title)
+void WidgetPen::setPen(Pen pen, bool showByLayer, bool showUnchanged, const QString & title)
 {
        ui.cbColor->init(showByLayer, showUnchanged);
        ui.cbWidth->init(showByLayer, showUnchanged);
@@ -40,9 +43,9 @@ void WidgetPen::setPen(RS_Pen pen, bool showByLayer, bool showUnchanged, const Q
                ui.bgPen->setTitle(title);
 }
 
-RS_Pen WidgetPen::getPen()
+Pen WidgetPen::getPen()
 {
-       RS_Pen pen;
+       Pen pen;
 
        pen.setColor(ui.cbColor->getColor());
        pen.setWidth(ui.cbWidth->getWidth());