Logo Search packages:      
Sourcecode: kdenlive version File versions

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

put the marked text/object into the clipboard and remove it from the document

Definition at line 2401 of file kdenlive.cpp.

References getDocument(), KdenliveDoc::projectClip(), DocClipProject::selectedClip(), slotDeleteSelected(), and slotStatusMsg().

Referenced by initActions().

    {
      if (getDocument()->projectClip().hasSelectedClips() == 0) {
            KMessageBox::sorry(this, i18n("No clip selected"));
            return;
        }
      slotStatusMsg(i18n("Cutting clip %1.").arg(getDocument()->projectClip().selectedClip()->name()));
      editPaste->setEnabled(true);
      if (m_copiedClip) delete m_copiedClip;
      m_copiedClip = getDocument()->projectClip().selectedClip()->clone(getDocument());
      slotDeleteSelected();
      slotStatusMsg(i18n("Ready."));
    }


Generated by  Doxygen 1.6.0   Back to index