Logo Search packages:      
Sourcecode: kdenlive version File versions

LoadProjectFilter * ProjectFormatManager::findLoadFormat ( const QString &  format  )  [private]

Find a project filter that can load files of the given foramt.

Definition at line 179 of file projectformatmanager.cpp.

Referenced by mergeDocument(), and openDocument().

{
    QPtrListIterator < LoadProjectFilter > itt(m_loadFilters);
    while (itt.current()) {
      if (itt.current()->handlesFormat(format)) {
          return itt.current();
      }
      ++itt;
    }

    return m_loadFilters.first();
}


Generated by  Doxygen 1.6.0   Back to index