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

void RosegardenGUIApp::slotEditCut (  )  [slot]

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

Definition at line 2380 of file rosegardengui.cpp.

References MultiViewCommandHistory::addCommand(), RosegardenGUIDoc::getCommandHistory(), RosegardenGUIView::getSelection(), RosegardenGUIView::haveSelection(), m_doc, and m_view.

Referenced by setupActions().

    if (!m_view->haveSelection()) return;
    KTmpStatusMsg msg(i18n("Cutting selection..."), this);

    Rosegarden::SegmentSelection selection(m_view->getSelection());
        (new CutCommand(selection, m_clipboard));

Generated by  Doxygen 1.6.0   Back to index