Mercurial > hg > easaier-soundaccess
comparison layer/TimeRulerLayer.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 |
---|---|
296 { | 296 { |
297 return Layer::toXmlString(indent, extraAttributes + | 297 return Layer::toXmlString(indent, extraAttributes + |
298 QString(" colour=\"%1\"").arg(encodeColour(m_colour))); | 298 QString(" colour=\"%1\"").arg(encodeColour(m_colour))); |
299 } | 299 } |
300 | 300 |
301 QString TimeRulerLayer::toEasaierXmlString(QString indent, QString extraAttributes) const | |
302 { | |
303 return Layer::toEasaierXmlString(indent, extraAttributes + | |
304 QString(" colour=\"%1\"").arg(encodeColour(m_colour))); | |
305 } | |
306 | |
301 void | 307 void |
302 TimeRulerLayer::setProperties(const QXmlAttributes &attributes) | 308 TimeRulerLayer::setProperties(const QXmlAttributes &attributes) |
303 { | 309 { |
304 QString colourSpec = attributes.value("colour"); | 310 QString colourSpec = attributes.value("colour"); |
305 if (colourSpec != "") { | 311 if (colourSpec != "") { |