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

void ClipManager::slotClipModified ( const QString &  path) [private, slot]

A clip was externally modified, monitor for more changes and prepare for reload

Definition at line 743 of file clipmanager.cpp.

References DocClipBase::getId(), m_modifiedClips, and m_modifiedTimer.

{
    //kDebug() << "// CLIP: " << path << " WAS MODIFIED";
    const QList <DocClipBase *> list = getClipByResource(path);
    for (int i = 0; i < list.count(); i++) {
        DocClipBase *clip = list.at(i);
        if (clip != NULL) {
            QString id = clip->getId();
            if (!m_modifiedClips.contains(id))
                emit modifiedClip(id);
            m_modifiedClips[id] = QTime::currentTime();
        }
    }
    if (!m_modifiedTimer.isActive()) m_modifiedTimer.start();
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index