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

KURL::List ClipDrag::createURLList ( DocClipRefList clipList  )  [static, private]

Returns a QValueList containing the URL of the clip.

This is necessary, because the KURLDrag class which ClipDrag inherits requires a list of URL's rather than a single URL.

Definition at line 156 of file clipdrag.cpp.

{
    KURL::List list;

    QPtrListIterator < DocClipRef > itt(*clipList);

    while (itt.current() != 0) {
      list.append(itt.current()->fileURL());
      ++itt;
    }

    return list;
}


Generated by  Doxygen 1.6.0   Back to index