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

void ClipManager::slotProcessModifiedClips ( ) [private, slot]

Check the list of externally modified clips, and process them if they were not modified in the last 1500 milliseconds

Definition at line 759 of file clipmanager.cpp.

References m_modifiedClips, and m_modifiedTimer.

{
    if (!m_modifiedClips.isEmpty()) {
        QMapIterator<QString, QTime> i(m_modifiedClips);
        while (i.hasNext()) {
            i.next();
            if (QTime::currentTime().msecsTo(i.value()) <= -1500) {
                emit reloadClip(i.key());
                m_modifiedClips.remove(i.key());
                break;
            }
        }
    }
    if (m_modifiedClips.isEmpty()) m_modifiedTimer.stop();
}

Generated by  Doxygen 1.6.0   Back to index