Warning, file /education/step/stepcore/material.cc was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2007 Vladimir Kuznetsov <ks.vladimir@gmail.com> 0003 SPDX-FileCopyrightText: 2014 Inge Wallin <inge@lysator.liu.se> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "material.h" 0009 0010 0011 namespace StepCore 0012 { 0013 0014 //STEPCORE_META_OBJECT(Body, QT_TRANSLATE_NOOP("ObjectClass", "Body"), QT_TR_NOOP("Body"), 0015 // MetaObject::ABSTRACT,,) 0016 0017 0018 Material& Material::operator=(const Material& mtrl) 0019 { 0020 _name = mtrl._name; 0021 _color = mtrl._color; 0022 _density = mtrl._density; 0023 0024 return *this; 0025 } 0026 0027 0028 Material GenericMaterial(QStringLiteral("Bloontonium")); 0029 0030 0031 } // namespace StepCore