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