Logo Search packages:      
Sourcecode: kdenlive version File versions

bool DocClipProject::referencesClip ( DocClipBase *  clip  )  const [virtual]

Returns true if this clip refers to the clip passed in. A clip refers to another clip if it uses it as part of it's own composition.

Definition at line 824 of file docclipproject.cpp.

References m_tracks, and DocTrackBase::referencesClip().

    bool result = false;

    DocTrackBase *srcTrack;
    uint track = 0;
    QPtrListIterator < DocTrackBase > itt(m_tracks);

    while (itt.current()) {
      srcTrack = itt.current();

      if (srcTrack->referencesClip(clip)) {
          result = true;


    return result;

Generated by  Doxygen 1.6.0   Back to index