mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-29 05:19:55 +00:00
13 lines
279 B
QML
13 lines
279 B
QML
|
import QtQml 2.0
|
||
|
import QOwnNotesTypes 1.0
|
||
|
import com.qownnotes.noteapi 1.0
|
||
|
|
||
|
/**
|
||
|
* This script shows a log entry when the window state is changed
|
||
|
*/
|
||
|
Script {
|
||
|
function windowStateChangedHook(windowState) {
|
||
|
script.log('Window state changed: ' + windowState);
|
||
|
}
|
||
|
}
|