Logo Search packages:      
Sourcecode: kdenlive version File versions

SaveProjectFilter * ProjectFormatManager::findSaveFormat ( const QString &  format  )  [private]

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

Definition at line 193 of file projectformatmanager.cpp.

Referenced by saveDocument().

{
    QPtrListIterator < SaveProjectFilter > itt(m_saveFilters);

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

    return m_saveFilters.first();
}


Generated by  Doxygen 1.6.0   Back to index