diff -r 1de2b8d64e9f -r 98906a94732f src/linetypes/errorline.cpp --- 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 #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}; }