QVariant TremoloBar::getProperty(P_ID propertyId) const { switch (propertyId) { case P_ID::MAG: return userMag(); default: return Element::getProperty(propertyId); } }
QVariant TremoloBar::getProperty(Pid propertyId) const { switch (propertyId) { case Pid::LINE_WIDTH: return lineWidth(); case Pid::MAG: return userMag(); case Pid::PLAY: return play(); default: return Element::getProperty(propertyId); } }