Logo Search packages:      
Sourcecode: kdenlive version File versions

void TrackView::slotRenameTrack ( int  ix,
QString  name 
) [private, slot]

Changes the name of a track.

ixNumber of the track
nameNew name

Definition at line 1065 of file trackview.cpp.

References KdenliveDoc::setModified().

Referenced by slotRebuildTrackHeaders().

    int tracknumber = m_doc->tracksCount() - ix;
    QList <TrackInfo> tracks = m_doc->tracksList();
    tracks[tracknumber - 1].trackName = name;
    ConfigTracksCommand *configTracks = new ConfigTracksCommand(m_trackview, m_doc->tracksList(), tracks);

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