| 130 | } |
| 131 | |
| 132 | void UBDocument::insertPage(std::shared_ptr<UBGraphicsScene> scene, int index, bool persist, bool deleting) |
| 133 | { |
| 134 | UBPersistenceManager::persistenceManager()->insertDocumentSceneAt(mProxy, scene, index, persist, deleting); |
| 135 | |
| 136 | mThumbnailScene->insertThumbnail(index); |
| 137 | } |
| 138 | |
| 139 | std::shared_ptr<UBGraphicsScene> UBDocument::createPage(int index, bool useUndoRedoStack) |
| 140 | { |
no test coverage detected