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

void Rosegarden::RosegardenGUIApp::slotCutRange (  )  [slot]

Cut a time range (sections of segments, tempo, and time signature events within that range).

Definition at line 2505 of file RosegardenGUIApp.cpp.

References Rosegarden::MultiViewCommandHistory::addCommand(), Rosegarden::RosegardenGUIDoc::getCommandHistory(), Rosegarden::RosegardenGUIDoc::getComposition(), and m_doc.

Referenced by setupActions().

    timeT t0 = m_doc->getComposition().getLoopStart();
    timeT t1 = m_doc->getComposition().getLoopEnd();

    if (t0 == t1)
        return ;

    (new CutRangeCommand(&m_doc->getComposition(), t0, t1, m_clipboard));

Generated by  Doxygen 1.6.0   Back to index