Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

void Rosegarden::Segment::setTrack ( TrackId  i )

Set the track number this Segment is associated with.

Definition at line 150 of file Segment.cpp.

References Rosegarden::Composition::updateRefreshStatuses(), Rosegarden::Composition::weakAddSegment(), and Rosegarden::Composition::weakDetachSegment().

Referenced by Rosegarden::RosegardenDocument::updateRecordingAudioSegments().

    Composition *c = m_composition;
    if (c) c->weakDetachSegment(this); // sets m_composition to 0
    TrackId oldTrack = m_track;
    m_track = id;
    if (c) {
      c->notifySegmentTrackChanged(this, oldTrack, id);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index