MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / shiftUpScenes

Method shiftUpScenes

src/core/UBSceneCache.cpp:239–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237
238
239void UBSceneCache::shiftUpScenes(std::shared_ptr<UBDocumentProxy> proxy, int startIncIndex, int endIncIndex)
240{
241 for(int i = endIncIndex; i >= startIncIndex; i--)
242 {
243 UBApplication::showMessage(QObject::tr("Moving cached scenes (%1/%2)").arg(i).arg(endIncIndex));
244 internalMoveScene(proxy, i, i + 1);
245 }
246}
247
248
249void UBSceneCache::internalMoveScene(std::shared_ptr<UBDocumentProxy> proxy, int sourceIndex, int targetIndex)

Callers 2

createDocumentSceneAtMethod · 0.80
insertDocumentSceneAtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected