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

void KdenliveDoc::slotClipChanged ( DocClipBase *  file  )  [private, slot]

Emitted when a particular clip has changed in someway. E.g, it has recieved it's duration.

Definition at line 591 of file kdenlivedoc.cpp.

References clipChanged().

Referenced by KdenliveDoc().

{
    DocumentBaseNode *node = findClipNodeById(file->getId());
    if (node) {
      DocumentClipNode *clipNode = node->asClipNode();
      if (clipNode) {
          clipNode->clipRef()->setTrackEnd(clipNode->clipRef()->
            duration());
          emit clipChanged(clipNode->clipRef());
      }
    } /*else {
      kdWarning() <<
          "Got a request for a changed clip that is not in the document : "
          << file->name() << endl;
    }*/
}


Generated by  Doxygen 1.6.0   Back to index