QOwnNotes/docs/scripting/examples/workspaces.qml
2022-08-16 13:15:31 +02:00

15 lines
345 B
QML

import QtQml 2.0
import QOwnNotesTypes 1.0
Script {
/**
* 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);
}
}