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

DocClipRefList KdenliveDoc::listSelected (  )  const

Constructs a list of all clips that are currently selected.

Definition at line 845 of file kdenlivedoc.cpp.

References trackList().

Referenced by TrackPanelClipSlipFunction::initiateDrag(), TrackPanelClipMoveFunction::initiateDrag(), and Gui::KdenliveApp::slotDeleteSelected().

{
    DocClipRefList list;

    QPtrListIterator < DocTrackBase > trackItt(trackList());

    while (trackItt.current()) {
      QPtrListIterator < DocClipRef >
          clipItt(trackItt.current()->firstClip(true));

      while (clipItt.current()) {
          list.inSort(clipItt.current());
          ++clipItt;
      }

      ++trackItt;
    }

    return list;
}


Generated by  Doxygen 1.6.0   Back to index