! \brief Change the length of this TrackContentObject * * If the track content object's length has chaanged, update it. We * also add a journal entry for undo and update the display. * * \param _length The new length of the track content object. */
| 162 | * \param _length The new length of the track content object. |
| 163 | */ |
| 164 | void TrackContentObject::changeLength( const MidiTime & length ) |
| 165 | { |
| 166 | m_length = length; |
| 167 | Engine::getSong()->updateLength(); |
| 168 | emit lengthChanged(); |
| 169 | } |
| 170 | |
| 171 | bool TrackContentObject::comparePosition(const TrackContentObject *a, const TrackContentObject *b) |
| 172 | { |