Mercurial > hg > easaier-soundaccess
comparison layer/NoteLayer.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 |
---|---|
987 return Layer::toXmlString(indent, extraAttributes + | 987 return Layer::toXmlString(indent, extraAttributes + |
988 QString(" colour=\"%1\" verticalScale=\"%2\"") | 988 QString(" colour=\"%1\" verticalScale=\"%2\"") |
989 .arg(encodeColour(m_colour)).arg(m_verticalScale)); | 989 .arg(encodeColour(m_colour)).arg(m_verticalScale)); |
990 } | 990 } |
991 | 991 |
992 QString | |
993 NoteLayer::toEasaierXmlString(QString indent, QString extraAttributes) const | |
994 { | |
995 return Layer::toEasaierXmlString(indent, extraAttributes + | |
996 QString(" colour=\"%1\" verticalScale=\"%2\"") | |
997 .arg(encodeColour(m_colour)).arg(m_verticalScale)); | |
998 } | |
999 | |
992 void | 1000 void |
993 NoteLayer::setProperties(const QXmlAttributes &attributes) | 1001 NoteLayer::setProperties(const QXmlAttributes &attributes) |
994 { | 1002 { |
995 QString colourSpec = attributes.value("colour"); | 1003 QString colourSpec = attributes.value("colour"); |
996 if (colourSpec != "") { | 1004 if (colourSpec != "") { |