comparison layer/TextLayer.cpp @ 18:d8e6709e9075

add - EasaierSessionManager - Easaier menus - Interval model
author lbajardsilogic
date Mon, 14 May 2007 13:13:14 +0000
parents fc9323a41f5a
children
comparison
equal deleted inserted replaced
17:e59b19407b6d 18:d8e6709e9075
762 return Layer::toXmlString(indent, extraAttributes + 762 return Layer::toXmlString(indent, extraAttributes +
763 QString(" colour=\"%1\"") 763 QString(" colour=\"%1\"")
764 .arg(encodeColour(m_colour))); 764 .arg(encodeColour(m_colour)));
765 } 765 }
766 766
767 QString
768 TextLayer::toEasaierXmlString(QString indent, QString extraAttributes) const
769 {
770 return Layer::toEasaierXmlString(indent, extraAttributes +
771 QString(" colour=\"%1\"")
772 .arg(encodeColour(m_colour)));
773 }
774
767 void 775 void
768 TextLayer::setProperties(const QXmlAttributes &attributes) 776 TextLayer::setProperties(const QXmlAttributes &attributes)
769 { 777 {
770 QString colourSpec = attributes.value("colour"); 778 QString colourSpec = attributes.value("colour");
771 if (colourSpec != "") { 779 if (colourSpec != "") {