Logo Search packages:      
Sourcecode: kdenlive version File versions

void Gui::KdenliveApp::slotDeleteSelected (  )  [slot]

Delete the selected clips

Definition at line 3779 of file kdenlive.cpp.

References KdenliveDoc::activateSceneListGeneration(), addCommand(), Gui::TransitionDialog::belongsToClip(), getDocument(), KdenliveDoc::listSelected(), Gui::TransitionDialog::setTransition(), Gui::EffectStackDialog::slotSetEffectStack(), and slotStatusMsg().

Referenced by initActions(), and slotEditCut().

                                         {
      slotStatusMsg(i18n("Deleting Selected Clips"));
      m_effectStackDialog->slotSetEffectStack(0);
      DocClipRefList list = getDocument()->listSelected();
      QPtrListIterator < DocClipRef > itt(list);
      while (itt.current()) {
            if (m_transitionPanel->belongsToClip(itt.current())) m_transitionPanel->setTransition(0);
              ++itt;
      }

      addCommand(Command::KAddRefClipCommand::
          deleteSelectedClips(getDocument()), true);
      getDocument()->activateSceneListGeneration(true);
      slotStatusMsg(i18n("Ready."));
    }


Generated by  Doxygen 1.6.0   Back to index