src/linetypes/errorline.cpp

changeset 35
98906a94732f
parent 14
20d2ed3af73d
child 86
4bec0525ef1b
--- a/src/linetypes/errorline.cpp	Tue Jan 28 23:34:49 2020 +0200
+++ b/src/linetypes/errorline.cpp	Thu Jan 30 19:20:11 2020 +0200
@@ -1,13 +1,13 @@
 #include <QBrush>
 #include "errorline.h"
 
-linetypes::ErrorLine::ErrorLine(QStringView text, QStringView message) :
+ldraw::ErrorLine::ErrorLine(QStringView text, QStringView message) :
 	text{text.toString()},
 	message{message.toString()}
 {
 }
 
-QVariant linetypes::ErrorLine::getProperty(Property property) const
+QVariant ldraw::ErrorLine::getProperty(Property property) const
 {
 	switch (property)
 	{
@@ -20,7 +20,7 @@
 	}
 }
 
-auto linetypes::ErrorLine::setProperty(
+auto ldraw::ErrorLine::setProperty(
 	Property property,
 	const QVariant& value)
 	-> SetPropertyResult
@@ -38,17 +38,17 @@
 	}
 }
 
-QString linetypes::ErrorLine::textRepresentation() const
+QString ldraw::ErrorLine::textRepresentation() const
 {
 	return this->text;
 }
 
-QBrush linetypes::ErrorLine::textRepresentationForeground() const
+QBrush ldraw::ErrorLine::textRepresentationForeground() const
 {
 	return QBrush{Qt::yellow};
 }
 
-QBrush linetypes::ErrorLine::textRepresentationBackground() const
+QBrush ldraw::ErrorLine::textRepresentationBackground() const
 {
 	return QBrush{Qt::red};
 }

mercurial