QVariant Articulation::getProperty(P_ID propertyId) const { switch(propertyId) { case P_ID::DIRECTION: return int(direction()); case P_ID::ARTICULATION_ANCHOR: return int(anchor()); case P_ID::TIME_STRETCH: return timeStretch(); case P_ID::ORNAMENT_STYLE: return int(ornamentStyle()); case P_ID::PLAY: return bool(playArticulation()); default: return Element::getProperty(propertyId); } }
QVariant Trill::getProperty(Pid propertyId) const { switch(propertyId) { case Pid::TRILL_TYPE: return int(trillType()); case Pid::ORNAMENT_STYLE: return int(ornamentStyle()); case Pid::PLAY: return bool(playArticulation()); default: break; } return SLine::getProperty(propertyId); }