QOwnNotes/docs/scripting/examples/workspaces.qml

16 lines
345 B
QML
Raw Normal View History

import QtQml 2.0
import QOwnNotesTypes 1.0
Script {
/**
2022-08-16 13:15:31 +02:00
* This function is called when workspaces are switched
*
* @param oldUuid old uuid of workspace
* @param newUuid new uuid of workspace
*/
function workspaceSwitchedHook(oldUuid, newUuid) {
script.log(oldUuid);
script.log(newUuid);
}
}