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

void KdenliveDoc::updateReferences (  )  [private]

When loading a new project, update the project list clip's reference (how much time each clip is used in timeline

Definition at line 673 of file kdenlivedoc.cpp.

References trackList().

{
    QPtrListIterator < DocTrackBase > trackItt(trackList());
    while (trackItt.current()) {
        QPtrListIterator < DocClipRef > clipItt(trackItt.current()->firstClip(true));
        while (clipItt.current()) {
            (*clipItt)->referencedClip()->addReference();
            ++clipItt;
            
        }
        QPtrListIterator < DocClipRef > clipItt2(trackItt.current()->firstClip(false));
        while (clipItt2.current()) {
            (*clipItt2)->referencedClip()->addReference();
            ++clipItt2;
        }
        ++trackItt;
    }
}


Generated by  Doxygen 1.6.0   Back to index