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

bool Rosegarden::Clipboard::isSingleSegment (  )  const

Return true if the clipboard only contains a single segment. Single-segment and multi-segment are conceptually rather separate -- for example, you can only paste into a segment from a single-segment clipboard.

Definition at line 74 of file Clipboard.cpp.

Referenced by getSingleSegment(), Rosegarden::PasteEventsCommand::isPossible(), Rosegarden::PasteEventsCommand::PasteEventsCommand(), and Rosegarden::RosegardenMainWindow::slotTestClipboard().

    return (m_segments.size() == 1 &&
        !m_haveTimeSigSelection &&

Generated by  Doxygen 1.6.0   Back to index