26 mShininess = elem.attribute( QStringLiteral(
"shininess" ) ).toFloat();
34 elem.setAttribute( QStringLiteral(
"shininess" ), mShininess );
static QString encodeColor(const QColor &color)
void writeXml(QDomElement &elem) const
Writes settings to a DOM element.
void readXml(const QDomElement &elem)
Reads settings from a DOM element.
static QColor decodeColor(const QString &str)