Пример #1
0
void DocumentController::copyFromModel(const MSelection &selection)
{
    *m_modelClipboard = m_modelController->copyElements(selection);
    emit modelClipboardChanged(isModelClipboardEmpty());
}
void DocumentController::cutFromModel(const MSelection &selection)
{
    *_model_clipboard = _model_controller->cutElements(selection);
    emit modelClipboardChanged(isModelClipboardEmpty());
}